...
|
...
|
@@ -12,11 +12,15 @@ public class SearchCacheMatchLogger { |
|
|
private static final Logger CACHE_MATCH_REQUEST = LoggerFactory.getLogger("CACHE_MATCH_REQUEST");
|
|
|
|
|
|
public static void doSearchCacheMatchLog(String url, Map<String, String> paramMap) {
|
|
|
CACHE_MATCH_REQUEST.info("match cache , url is :{}?{}", url, HttpServletRequestUtils.genParamString(paramMap));
|
|
|
if(CACHE_MATCH_REQUEST.isInfoEnabled()){
|
|
|
CACHE_MATCH_REQUEST.info("match cache , url is :{}?{}", url, HttpServletRequestUtils.genParamString(paramMap));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public static void doSearchCacheMatchLog(String method, String key) {
|
|
|
CACHE_MATCH_REQUEST.info("match cache , method is :{}, key is {}", method, key);
|
|
|
if(CACHE_MATCH_REQUEST.isInfoEnabled()){
|
|
|
CACHE_MATCH_REQUEST.info("match cache , method is :{}, key is {}", method, key);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|