Commit c64b6e96 authored by Ryan Loong's avatar Ryan Loong

update log级别和格式

parent 8b376868
...@@ -9,8 +9,8 @@ server: ...@@ -9,8 +9,8 @@ server:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.admin: DEBUG cn.exploring.engine.server.admin: info
cn.exploring.engine.server: ERROR cn.exploring.engine.server: info
...@@ -10,15 +10,15 @@ server: ...@@ -10,15 +10,15 @@ server:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.db.dao: ERROR cn.exploring.engine.server.db.dao: info
cn.exploring.engine.server.core: ERROR cn.exploring.engine.server.core: info
cn.exploring.engine.server.db: ERROR cn.exploring.engine.server.db: info
cn.exploring.engine.server.admin: ERROR cn.exploring.engine.server.admin: info
cn.exploring.engine.server.wx: ERROR cn.exploring.engine.server.wx: info
cn.exploring.engine.server: ERROR cn.exploring.engine.server: info
# redis相关配置 # redis相关配置
projectRedis: projectRedis:
......
...@@ -10,14 +10,14 @@ server: ...@@ -10,14 +10,14 @@ server:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.core: ERROR cn.exploring.engine.server.core: info
cn.exploring.engine.server.db: ERROR cn.exploring.engine.server.db: info
cn.exploring.engine.server.admin: ERROR cn.exploring.engine.server.admin: info
cn.exploring.engine.server.wx: ERROR cn.exploring.engine.server.wx: info
cn.exploring.engine.server: ERROR cn.exploring.engine.server: info
# redis相关配置 # redis相关配置
projectRedis: projectRedis:
......
...@@ -10,14 +10,14 @@ server: ...@@ -10,14 +10,14 @@ server:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.core: ERROR cn.exploring.engine.server.core: info
cn.exploring.engine.server.db: ERROR cn.exploring.engine.server.db: info
cn.exploring.engine.server.admin: ERROR cn.exploring.engine.server.admin: info
cn.exploring.engine.server.wx: ERROR cn.exploring.engine.server.wx: info
cn.exploring.engine.server: ERROR cn.exploring.engine.server: info
# redis相关配置 # redis相关配置
projectRedis: projectRedis:
......
...@@ -16,14 +16,14 @@ server: ...@@ -16,14 +16,14 @@ server:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.core: ERROR cn.exploring.engine.server.core: info
cn.exploring.engine.server.db: ERROR cn.exploring.engine.server.db: info
cn.exploring.engine.server.admin: ERROR cn.exploring.engine.server.admin: info
cn.exploring.engine.server.wx: ERROR cn.exploring.engine.server.wx: info
cn.exploring.engine.server: ERROR cn.exploring.engine.server: info
mybatis: mybatis:
configuration: configuration:
......
...@@ -18,7 +18,7 @@ spring: ...@@ -18,7 +18,7 @@ spring:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.core: DEBUG cn.exploring.engine.server.core: info
...@@ -6,10 +6,10 @@ spring: ...@@ -6,10 +6,10 @@ spring:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.db: DEBUG cn.exploring.engine.server.db: error
bean-searcher: bean-searcher:
sql: sql:
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout"> <layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger --* %msg%n *--</pattern> <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger -- %msg%n</pattern>
</layout> </layout>
</appender> </appender>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<totalSizeCap>3GB</totalSizeCap> <totalSizeCap>3GB</totalSizeCap>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>
<pattern>%-4relative [%thread] %-5level %logger{35} %d --* %msg%n *--</pattern> <pattern>%-4relative [%thread] %-5level %logger{35} %d -- %msg%n</pattern>
</encoder> </encoder>
</appender> </appender>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<totalSizeCap>3GB</totalSizeCap> <totalSizeCap>3GB</totalSizeCap>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>
<pattern>%-4relative [%thread] %-5level %logger{35} %d --* %msg%n *--</pattern> <pattern>%-4relative [%thread] %-5level %logger{35} %d -- %msg%n</pattern>
</encoder> </encoder>
</appender> </appender>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<totalSizeCap>3GB</totalSizeCap> <totalSizeCap>3GB</totalSizeCap>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>
<pattern>%-4relative [%thread] %-5level %logger{35} %d --* %msg%n *--</pattern> <pattern>%-4relative [%thread] %-5level %logger{35} %d -- %msg%n</pattern>
</encoder> </encoder>
</appender> </appender>
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<totalSizeCap>3GB</totalSizeCap> <totalSizeCap>3GB</totalSizeCap>
</rollingPolicy> </rollingPolicy>
<encoder> <encoder>
<pattern>%-4relative [%thread] %-5level %logger{35} %d --* %msg%n *--</pattern> <pattern>%-4relative [%thread] %-5level %logger{35} %d -- %msg%n</pattern>
</encoder> </encoder>
</appender> </appender>
......
...@@ -9,9 +9,9 @@ server: ...@@ -9,9 +9,9 @@ server:
logging: logging:
level: level:
root: ERROR root: error
org.springframework: ERROR org.springframework: error
org.mybatis: ERROR org.mybatis: error
cn.exploring.engine.server.wx: DEBUG cn.exploring.engine.server.wx: info
cn.exploring.engine.server: ERROR cn.exploring.engine.server: info
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment