From 10e70a4cbce06501d4c885ea654b43babbce57c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Fri, 3 Jan 2025 21:19:02 +0100 Subject: [PATCH] conf: write all backend logs to stdout --- .../src/main/resources/log4j.properties | 35 ++----------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/legacyworlds-server/legacyworlds-server-main/src/main/resources/log4j.properties b/legacyworlds-server/legacyworlds-server-main/src/main/resources/log4j.properties index 994c335..d09f45d 100644 --- a/legacyworlds-server/legacyworlds-server-main/src/main/resources/log4j.properties +++ b/legacyworlds-server/legacyworlds-server-main/src/main/resources/log4j.properties @@ -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