From f237a63ba7462b8cd1c0c369f5e5e6c46c3ef6eb Mon Sep 17 00:00:00 2001 From: Gianpaolo Coro Date: Tue, 19 Nov 2013 11:33:15 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@85683 82a268e6-3cf1-43bd-a215-b396298e98cf --- cfg/ALog.properties | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cfg/ALog.properties b/cfg/ALog.properties index 6c46474..0ade674 100644 --- a/cfg/ALog.properties +++ b/cfg/ALog.properties @@ -1,5 +1,6 @@ #### Use two appenders, one to log to console, another to log to a file -log4j.rootCategory= R +log4j.rootCategory= R +#,GEO, stdout #### Second appender writes to a file log4j.appender.stdout=org.apache.log4j.ConsoleAppender @@ -23,3 +24,10 @@ log4j.appender.H.Threshold=OFF log4j.appender.H.layout=org.apache.log4j.PatternLayout log4j.appender.H.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss} %p %t %c - %m%n +log4j.appender.GEO=org.apache.log4j.RollingFileAppender +log4j.appender.GEO.file=./Analysis.log +log4j.appender.GEO.MaxFileSize=10000KB +log4j.appender.GEO.MaxBackupIndex=10 +log4j.appender.GEO.layout=org.apache.log4j.PatternLayout +log4j.appender.GEO.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} [%t,%M:%L] %m%n +log4j.appender.GEO.threshold=TRACE \ No newline at end of file