779513719 před 4 roky
rodič
revize
ff8c461fff

+ 2 - 2
jim-server/src/main/resources/logback.properties

@@ -1,5 +1,5 @@
 #http://logback.qos.ch/manual/configuration.html
-#<include resource="includedConfig.xml"/>  resource, file, url (被包含的文件需要满足一定格式)
+#<include resource="includedConfig.xml"/>  resource, file, url (\u88AB\u5305\u542B\u7684\u6587\u4EF6\u9700\u8981\u6EE1\u8DB3\u4E00\u5B9A\u683C\u5F0F)
 
 context.name=jim-server
 
@@ -10,7 +10,7 @@ max.file.size=100MB
 max.history=50
 
 conversion.pattern=%d %-5level %logger{30}[%line]: %m%n
-root.level=info
+root.level=debug
 
 
 

+ 5 - 5
server-chat/src/main/resources/log4j.properties

@@ -1,4 +1,4 @@
-log4j.rootLogger=DEBUG,stdout,file
+log4j.rootLogger=INFO,stdout,file
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%n%-d{yyyy-MM-dd HH:mm:ss}%n[%p]-[Thread: %t]-[%C.%M()]: %m%n
@@ -12,19 +12,19 @@ log4j.appender.file.layout=org.apache.log4j.PatternLayout
 log4j.appender.file.layout.ConversionPattern=%n%-d{yyyy-MM-dd HH:mm:ss}%n[%p]-[Thread: %t]-[%C.%M()]: %m%n
 
 #\u8BB0\u5F55\u9664ResultSet\u8C03\u7528\u4EE5\u5916\u7684\u6240\u6709JDBC\u8C03\u7528
-log4j.logger.jdbc.audit = DEBUG,jdbc
+log4j.logger.jdbc.audit = INFO,jdbc
 log4j.additivity.jdbc.audit = false
 
 #\u53EA\u8BB0\u5F55\u5BF9ResultSet\u5BF9\u8C61\u7684JDBC\u8C03\u7528
-log4j.logger.jdbc.resultset = DEBUG,jdbc
+log4j.logger.jdbc.resultset = INFO,jdbc
 log4j.additivity.jdbc.resultset = false
 
 #\u53EA\u8BB0\u5F55\u6267\u884C\u7684SQL\u3002
-log4j.logger.jdbc.sqlonly = DEBUG,sql
+log4j.logger.jdbc.sqlonly = INFO,sql
 log4j.additivity.jdbc.sqlonly = false
 
 #\u8BB0\u5F55\u6709\u5173\u6267\u884C\u7684SQL\u7684\u65F6\u95F4\u4FE1\u606F\u3002
-log4j.logger.jdbc.sqltiming = DEBUG,console
+log4j.logger.jdbc.sqltiming = INFO,console
 log4j.additivity.jdbc.sqltiming = true
 
 #\u8BB0\u5F55\u8FDE\u63A5\u6253\u5F00/\u5173\u95ED\u4E8B\u4EF6\u548C\u8FDE\u63A5\u53F7\u7801\u8F6C\u50A8