diff --git a/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/logback-spring.xml b/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/logback-spring.xml index 6bffa75e..50b9921c 100644 --- a/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/logback-spring.xml +++ b/jeecg-server-cloud/jeecg-cloud-gateway/src/main/resources/logback-spring.xml @@ -17,7 +17,7 @@ - ${LOG_HOME}/jeecgboot-%d{yyyy-MM-dd}.%i.log + ${LOG_HOME}/jeecg-gateway-%d{yyyy-MM-dd}.%i.log 30 10MB diff --git a/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/logback-spring.xml b/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..9e636336 --- /dev/null +++ b/jeecg-server-cloud/jeecg-demo-cloud-start/src/main/resources/logback-spring.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %cyan(%logger{50}:%L) - %msg%n + + + + + + + + ${LOG_HOME}/jeecg-demo-%d{yyyy-MM-dd}.%i.log + + 30 + 10MB + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50}:%L - %msg%n + + + + + + + + ERROR + + + + %p%d%msg%M%F{32}%L + + + ${LOG_HOME}/error-log.html + + + + + + + + ${LOG_HOME}/jeecg-demo-%d{yyyy-MM-dd}.%i.html + + 30 + 10MB + + + + %p%d%msg%M%F{32}%L + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/logback-spring.xml b/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/logback-spring.xml index acad24b3..60d4c7df 100644 --- a/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/logback-spring.xml +++ b/jeecg-server-cloud/jeecg-system-cloud-start/src/main/resources/logback-spring.xml @@ -17,7 +17,7 @@ - ${LOG_HOME}/jeecgboot-%d{yyyy-MM-dd}.%i.log + ${LOG_HOME}/jeecg-system-%d{yyyy-MM-dd}.%i.log 30 10MB @@ -47,7 +47,7 @@ - ${LOG_HOME}/jeecgboot-%d{yyyy-MM-dd}.%i.html + ${LOG_HOME}/jeecg-system-%d{yyyy-MM-dd}.%i.html 30 10MB