Authored by hugufei

fix 日志名称

... ... @@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
@Component
class RecallConfigCommonService {
private static final Logger logger = LoggerFactory.getLogger(RecallConfigCommonService.class);
private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL");
@Autowired
private CsRecallConfigCommonIndexBaseService csRecallConfigCommonIndexBaseService;
... ... @@ -51,9 +51,9 @@ class RecallConfigCommonService {
tempCache.get(configKey).put(pageId, configSizeInterval);
}
recallConfigCommonCache = tempCache;
logger.info("loadRecallConfigCommonCache success,recallConfigCommonCache size is[{}]", recallConfigCommonCache.size());
RECALL_NEW_LOGGER.info("loadRecallConfigCommonCache success,recallConfigCommonCache size is[{}]", recallConfigCommonCache.size());
} catch (Exception e) {
logger.error("loadRecallConfigCommonCache error,exception is:" + e.getMessage(), e);
RECALL_NEW_LOGGER.error("loadRecallConfigCommonCache error,exception is:" + e.getMessage(), e);
}
}
... ...
... ... @@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
@Component
class RecallConfigProductService {
private static final Logger logger = LoggerFactory.getLogger(RecallConfigProductService.class);
private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL");
@Autowired
private CsRecallConfigProductIndexBaseService csRecallConfigProductIndexBaseService;
... ... @@ -56,9 +56,9 @@ class RecallConfigProductService {
tempCache.get(configKey).put(pageId, configSknCount);
}
recallSknCountConfigCache = tempCache;
logger.info("loadRecallSknCountConfigCache success,recallSknCountConfigCache size is[{}]", recallSknCountConfigCache.size());
RECALL_NEW_LOGGER.info("loadRecallSknCountConfigCache success,recallSknCountConfigCache size is[{}]", recallSknCountConfigCache.size());
} catch (Exception e) {
logger.error("loadRecallSknCountConfigCache error,exception is:" + e.getMessage(), e);
RECALL_NEW_LOGGER.error("loadRecallSknCountConfigCache error,exception is:" + e.getMessage(), e);
}
}
... ...
... ... @@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit;
@Component
class RecallConfigSortBrandService {
private static final Logger logger = LoggerFactory.getLogger(RecallConfigSortBrandService.class);
private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL");
@Autowired
private CsRecallConfigSortBrandIndexBaseService csRecallConfigSortBrandIndexBaseService;
... ... @@ -48,9 +48,9 @@ class RecallConfigSortBrandService {
}
}
configSortBrandsCache = tempCache;
logger.info("loadConfigSortBrands success,configSortBrandsCache size is[{}]", configSortBrandsCache.size());
RECALL_NEW_LOGGER.info("loadConfigSortBrands success,configSortBrandsCache size is[{}]", configSortBrandsCache.size());
} catch (Exception e) {
logger.error("loadConfigSortBrands error,exception is:" + e.getMessage(), e);
RECALL_NEW_LOGGER.error("loadConfigSortBrands error,exception is:" + e.getMessage(), e);
}
}
... ...