diff --git a/src/main/resources/lexicalguesser/ALog.properties b/src/main/resources/lexicalguesser/ALog.properties index b77ef7e..2229b75 100644 --- a/src/main/resources/lexicalguesser/ALog.properties +++ b/src/main/resources/lexicalguesser/ALog.properties @@ -1,10 +1,16 @@ # Use two appenders, one to log to console, another to log to a file -#log4j.rootLogger=AR +#log4j.rootLogger=AR,stdout + + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss} %p %t %c - %m%n + #### Second appender writes to a file -log4j.logger.AnalysisLogger=TRACE,AR +log4j.logger.AnalysisLogger=info,AR log4j.appender.AR=org.apache.log4j.RollingFileAppender -log4j.appender.AR.Threshold=TRACE +log4j.appender.AR.Threshold=info log4j.appender.AR.File=${GLOBUS_LOCATION}/logs/Analysis.log log4j.appender.AR.MaxFileSize=1024KB log4j.appender.AR.MaxBackupIndex=2