Spring Boot默认日志系统是否存在某些可能导致日志时间混乱的错误?

时间:2019-05-12 08:06:54

标签: spring-boot logback

当分析日志时我发现一些异常,请参阅下文

temp_list = ['arun', 'kumar', 'a', 'a213']

那是晚于前一个时间

spring boot(2019-05-10 13:24:24.113 INFO 696 --- [DBProcessThread] c.c.sz_vss.demo.AbstractSave2DBProcess : Stock save 2 DB batch size: 2000 2019-05-10 13:24:23.710 INFO 696 --- [DBProcessThread] c.c.sz_vss.demo.AbstractSave2DBProcess : Save Stock data 2 DB successfully 2019-05-10 13:24:24.103 INFO 696 --- [DBProcessThread] c.c.sz_vss.demo.AbstractSave2DBProcess : Save Stock data 2 CCXE DB successfully )默认日志是否存在一些可能导致时间混乱的错误

下面是我的代码:

2.1.4.RELEASE

有关异常的更多日志:

List<T> batchList = getBatchList(batchCount);
log.info("{} save 2 DB batch size: {}", getDescName(), batchList.size());

getDao().batchCreateTableIfNotExists(batchList);
getDao().batchInsert(batchList);
log.info("Save {} data 2 DB successfully", getDescName());


getDao().batchInsert2CCXE(batchList);
log.info("Save {} data 2 CCXE DB successfully", getDescName());

0 个答案:

没有答案