git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@71253 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a8eb87edc7
commit
74c040904a
|
@ -1,10 +1,16 @@
|
||||||
# Use two appenders, one to log to console, another to log to a file
|
# 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
|
#### 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=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.File=${GLOBUS_LOCATION}/logs/Analysis.log
|
||||||
log4j.appender.AR.MaxFileSize=1024KB
|
log4j.appender.AR.MaxFileSize=1024KB
|
||||||
log4j.appender.AR.MaxBackupIndex=2
|
log4j.appender.AR.MaxBackupIndex=2
|
||||||
|
|
Loading…
Reference in New Issue