lib/rubyfox/server/data/config/log4j.properties in rubyfox-server-2.13.7.3 vs lib/rubyfox/server/data/config/log4j.properties in rubyfox-server-2.16.0.0
- old
+ new
@@ -40,12 +40,19 @@
log4j.appender.fileAppender=org.apache.log4j.DailyRollingFileAppender
log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.fileAppender.File=logs/smartfox.log
log4j.appender.fileAppender.layout.ConversionPattern=%d{dd MMM yyyy | HH:mm:ss,SSS} | %-5p | %t | %c{3} | %3x | %m%n
log4j.appender.fileAppender.Encoding=UTF-8
+
+# The file is rolled over every day.
+# Other examples:
+#
+# '.'yyyy-MM-dd-HH rolls every hour
+# '.'yyyy-MM-dd-HH-mm rolls every minute
log4j.appender.fileAppender.DatePattern='.'yyyy-MM-dd
+
# BootLogger FileAppender(s)
log4j.appender.bootFileAppender=org.apache.log4j.DailyRollingFileAppender
log4j.appender.bootFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.bootFileAppender.File=logs/boot/boot.log
log4j.appender.bootConsoleAppender.threshold=DEBUG
@@ -55,16 +62,9 @@
log4j.appender.bootConsoleAppender=org.apache.log4j.ConsoleAppender
log4j.appender.bootConsoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.bootConsoleAppender.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%t] %c{3} %3x - %m%n
log4j.appender.bootConsoleAppender.threshold=WARN
-
-# ConversionPattern=%-4r %-5p [%t] %37c %3x - %m%n
-
-# The file is rolled over very day
-# '.'yyyy-MM-dd-HH rolls every hour
-# '.'yyyy-MM-dd-HH-mm rolls every minute
-log4j.appender.fileAppender.DatePattern ='.'yyyy-MM-dd-HH
# log4j.category.com.smartfoxserver.v2=DEBUG,consoleAppender,fileAppender,socketAppender
log4j.category.com.smartfoxserver=INFO,consoleAppender,fileAppender
log4j.category.org.apache=INFO,consoleAppender,fileAppender
log4j.category.org.apache.http=INFO,consoleAppender,fileAppender