Authored by hugufei

fix 日志名称

@@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit; @@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
19 @Component 19 @Component
20 class RecallConfigCommonService { 20 class RecallConfigCommonService {
21 21
22 - private static final Logger logger = LoggerFactory.getLogger(RecallConfigCommonService.class); 22 + private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL");
23 23
24 @Autowired 24 @Autowired
25 private CsRecallConfigCommonIndexBaseService csRecallConfigCommonIndexBaseService; 25 private CsRecallConfigCommonIndexBaseService csRecallConfigCommonIndexBaseService;
@@ -51,9 +51,9 @@ class RecallConfigCommonService { @@ -51,9 +51,9 @@ class RecallConfigCommonService {
51 tempCache.get(configKey).put(pageId, configSizeInterval); 51 tempCache.get(configKey).put(pageId, configSizeInterval);
52 } 52 }
53 recallConfigCommonCache = tempCache; 53 recallConfigCommonCache = tempCache;
54 - logger.info("loadRecallConfigCommonCache success,recallConfigCommonCache size is[{}]", recallConfigCommonCache.size()); 54 + RECALL_NEW_LOGGER.info("loadRecallConfigCommonCache success,recallConfigCommonCache size is[{}]", recallConfigCommonCache.size());
55 } catch (Exception e) { 55 } catch (Exception e) {
56 - logger.error("loadRecallConfigCommonCache error,exception is:" + e.getMessage(), e); 56 + RECALL_NEW_LOGGER.error("loadRecallConfigCommonCache error,exception is:" + e.getMessage(), e);
57 } 57 }
58 } 58 }
59 59
@@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit; @@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
19 @Component 19 @Component
20 class RecallConfigProductService { 20 class RecallConfigProductService {
21 21
22 - private static final Logger logger = LoggerFactory.getLogger(RecallConfigProductService.class); 22 + private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL");
23 23
24 @Autowired 24 @Autowired
25 private CsRecallConfigProductIndexBaseService csRecallConfigProductIndexBaseService; 25 private CsRecallConfigProductIndexBaseService csRecallConfigProductIndexBaseService;
@@ -56,9 +56,9 @@ class RecallConfigProductService { @@ -56,9 +56,9 @@ class RecallConfigProductService {
56 tempCache.get(configKey).put(pageId, configSknCount); 56 tempCache.get(configKey).put(pageId, configSknCount);
57 } 57 }
58 recallSknCountConfigCache = tempCache; 58 recallSknCountConfigCache = tempCache;
59 - logger.info("loadRecallSknCountConfigCache success,recallSknCountConfigCache size is[{}]", recallSknCountConfigCache.size()); 59 + RECALL_NEW_LOGGER.info("loadRecallSknCountConfigCache success,recallSknCountConfigCache size is[{}]", recallSknCountConfigCache.size());
60 } catch (Exception e) { 60 } catch (Exception e) {
61 - logger.error("loadRecallSknCountConfigCache error,exception is:" + e.getMessage(), e); 61 + RECALL_NEW_LOGGER.error("loadRecallSknCountConfigCache error,exception is:" + e.getMessage(), e);
62 } 62 }
63 } 63 }
64 64
@@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit; @@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit;
22 @Component 22 @Component
23 class RecallConfigSortBrandService { 23 class RecallConfigSortBrandService {
24 24
25 - private static final Logger logger = LoggerFactory.getLogger(RecallConfigSortBrandService.class); 25 + private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL");
26 26
27 @Autowired 27 @Autowired
28 private CsRecallConfigSortBrandIndexBaseService csRecallConfigSortBrandIndexBaseService; 28 private CsRecallConfigSortBrandIndexBaseService csRecallConfigSortBrandIndexBaseService;
@@ -48,9 +48,9 @@ class RecallConfigSortBrandService { @@ -48,9 +48,9 @@ class RecallConfigSortBrandService {
48 } 48 }
49 } 49 }
50 configSortBrandsCache = tempCache; 50 configSortBrandsCache = tempCache;
51 - logger.info("loadConfigSortBrands success,configSortBrandsCache size is[{}]", configSortBrandsCache.size()); 51 + RECALL_NEW_LOGGER.info("loadConfigSortBrands success,configSortBrandsCache size is[{}]", configSortBrandsCache.size());
52 } catch (Exception e) { 52 } catch (Exception e) {
53 - logger.error("loadConfigSortBrands error,exception is:" + e.getMessage(), e); 53 + RECALL_NEW_LOGGER.error("loadConfigSortBrands error,exception is:" + e.getMessage(), e);
54 } 54 }
55 } 55 }
56 56