[vlma-devel] commit: Don't log to stdout since the daemon runs in background. ( Adrien Grand )
git version control
git at videolan.org
Tue Jul 8 01:04:56 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Tue Jul 8 01:02:31 2008 +0200| [89324a6cca26d2033512bf87e5dd4d494c7ac626]
Don't log to stdout since the daemon runs in background.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=89324a6cca26d2033512bf87e5dd4d494c7ac626
---
vlma-distribution/src/conf/logging.properties | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/vlma-distribution/src/conf/logging.properties b/vlma-distribution/src/conf/logging.properties
index 9749cfd..042f6bf 100644
--- a/vlma-distribution/src/conf/logging.properties
+++ b/vlma-distribution/src/conf/logging.properties
@@ -1,7 +1,4 @@
-log4j.rootLogger=INFO,console,errorfile,infofile
-
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-log4j.appender.console.layout=org.apache.log4j.SimpleLayout
+log4j.rootLogger=INFO,errorfile,warnfile,infofile
log4j.appender.errorfile=org.apache.log4j.RollingFileAppender
log4j.appender.errorfile.layout=org.apache.log4j.SimpleLayout
@@ -9,6 +6,12 @@ log4j.appender.errorfile.File=${vlma.logs}/vlmad.error.log
log4j.appender.errorfile.MaxBackupIndex=7
log4j.appender.errorfile.Threshold=ERROR
+log4j.appender.errorfile=org.apache.log4j.RollingFileAppender
+log4j.appender.errorfile.layout=org.apache.log4j.SimpleLayout
+log4j.appender.errorfile.File=${vlma.logs}/vlmad.warn.log
+log4j.appender.errorfile.MaxBackupIndex=7
+log4j.appender.errorfile.Threshold=WARN
+
log4j.appender.infofile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.infofile.layout=org.apache.log4j.SimpleLayout
log4j.appender.infofile.File=${vlma.logs}/vlmad.info.log
More information about the vlma-devel
mailing list