conf: write all backend logs to stdout

This commit is contained in:
Emmanuel BENOîT 2025-01-03 21:19:02 +01:00
parent 56331babc7
commit 10e70a4cbc
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -1,38 +1,7 @@
log4j.appender.fullDebug=org.apache.log4j.RollingFileAppender
log4j.appender.fullDebug.File=./full-debug.log
log4j.appender.fullDebug.layout=org.apache.log4j.PatternLayout
log4j.appender.fullDebug.layout.ConversionPattern=%d{yyyy-MM-dd@HH:mm:ss} %5p (%40c{1}:%-5L) - %m%n
log4j.appender.fullDebug.MaxFileSize=100MB
log4j.appender.fullDebug.MaxBackupIndex=1
log4j.appender.server=com.deepclone.lw.srv.LogAppender
log4j.appender.server.File=./server.log
log4j.appender.server.Threshold=DEBUG
log4j.appender.server.layout=org.apache.log4j.PatternLayout
log4j.appender.server.layout.ConversionPattern=%d{yyyy-MM-dd@HH:mm:ss} %5p - %m%n
log4j.appender.server.DatePattern='.'yyyy-MM-dd
log4j.appender.server.MaxNumberOfDays=30
log4j.appender.server.CompressBackups = true
log4j.appender.consoleError=org.apache.log4j.ConsoleAppender
log4j.appender.consoleError.Target=System.out
log4j.appender.consoleError.Threshold=WARN
log4j.appender.consoleError.layout=org.apache.log4j.PatternLayout
log4j.appender.consoleError.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
#log4j.logger.org.springframework=DEBUG, consoleError, fullDebug
#log4j.logger.org.hibernate=DEBUG, consoleError, fullDebug
#log4j.logger.com.deepclone.lw=DEBUG, stdout, fullDebug
#log4j.logger.com.deepclone.lw.interfaces.eventlog=TRACE, fullDebug, server
log4j.logger.org.springframework=WARN, server
log4j.logger.org.springframework=INFO, fullDebug
log4j.logger.com.deepclone.lw=DEBUG, fullDebug
log4j.logger.com.deepclone.lw.interfaces.eventlog=DEBUG, server
log4j.logger.org.springframework=INFO, stdout
log4j.logger.com.deepclone.lw=DEBUG, stdout