mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-20 00:06:53 +08:00
提交用户日志输出目录
This commit is contained in:
@@ -34,10 +34,10 @@ public class CasesRecommendLaunchImportServiceImpl implements ICasesRecommendLau
|
||||
|
||||
@Override
|
||||
public String importData(List<List<Object>> dataList) {
|
||||
if (CollectionUtil.isEmpty(dataList)) {
|
||||
if (CollectionUtil.isEmpty(dataList) || dataList.size() < 1) {
|
||||
throw new RuntimeException("导入数据为空");
|
||||
}
|
||||
int totalNum = dataList.size();
|
||||
int totalNum = dataList.size() - 1;
|
||||
int successNum = 0;
|
||||
int failNum = 0;
|
||||
String importId = IdUtil.getSnowflakeNextId() + "";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration debug="false" scan="false">
|
||||
<springProperty scop="context" name="spring.application.name" source="spring.application.name" defaultValue=""/>
|
||||
<property name="log.path" value="logs/${spring.application.name}"/>
|
||||
<property name="log.path" value="./logs/${spring.application.name}"/>
|
||||
<!-- 彩色日志格式 -->
|
||||
<property name="CONSOLE_LOG_PATTERN"
|
||||
value="${CONSOLE_LOG_PATTERN:-%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}"/>
|
||||
|
||||
Reference in New Issue
Block a user