perfsonar-dev - perfsonar: r2763 - branches/new-structure/trunk/geant2_java-xml-ls/conf
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2763 - branches/new-structure/trunk/geant2_java-xml-ls/conf
- Date: Tue, 4 Sep 2007 07:57:15 -0400
Author: mac
Date: 2007-09-04 07:57:15 -0400 (Tue, 04 Sep 2007)
New Revision: 2763
Modified:
branches/new-structure/trunk/geant2_java-xml-ls/conf/log4j.properties.template
Log:
new log4j template made by Roman
debugs enalbled
Modified:
branches/new-structure/trunk/geant2_java-xml-ls/conf/log4j.properties.template
===================================================================
---
branches/new-structure/trunk/geant2_java-xml-ls/conf/log4j.properties.template
2007-09-04 11:53:17 UTC (rev 2762)
+++
branches/new-structure/trunk/geant2_java-xml-ls/conf/log4j.properties.template
2007-09-04 11:57:15 UTC (rev 2763)
@@ -7,21 +7,33 @@
logDir=_LOGPATH_
-#ROOT
-#log4j.appender.rootAppender.MaxBackupIndex=11
-#log4j.appender.rootAppender.File=_LOGPATH_/perfsonar.log
-#log4j.appender.rootAppender.layout=org.apache.log4j.PatternLayout
-#log4j.appender.rootAppender.layout.ConversionPattern=%d %5p - %m%n
-#log4j.rootLogger=DEBUG, rootAppender
-#log4j.appender.rootAppender.MaxFileSize=500KB
-#log4j.appender.rootAppender=org.apache.log4j.RollingFileAppender
+##
+## All log levels is one log file.
+## Dafaultly debug level is switched off (commented).
+##
+log4j.logger.sonar-debug=DEBUG, psRootAppender
+log4j.logger.sonar-info=INFO, psRootAppender
+log4j.logger.sonar-warn=WARN, psRootAppender
+log4j.logger.sonar-error=ERROR, psRootAppender
+log4j.logger.sonar-fatal=FATAL, psRootAppender
+
+##
+## Uncomment this block (and comment the one above)
+## if you want to have log levels in separate log files
+##
+#log4j.logger.sonar-debug=DEBUG, debugAppender, psRootAppender
+#log4j.logger.sonar-info=INFO, infoAppender, psRootAppender
+#log4j.logger.sonar-warn=WARN, warnAppender, psRootAppender
+#log4j.logger.sonar-error=ERROR, errorAppender, psRootAppender
+#log4j.logger.sonar-fatal=FATAL, fatalAppender, psRootAppender
+
+
#DEBUG
log4j.appender.debugAppender.MaxBackupIndex=11
log4j.appender.debugAppender.File=_LOGPATH_/perfsonar_debug.log
log4j.appender.debugAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.debugAppender.layout.ConversionPattern=%d %5p - %m%n
-log4j.logger.sonar-debug=DEBUG, debugAppender
log4j.appender.debugAppender.MaxFileSize=500KB
log4j.appender.debugAppender=org.apache.log4j.RollingFileAppender
@@ -30,7 +42,6 @@
log4j.appender.infoAppender.File=_LOGPATH_/perfsonar_info.log
log4j.appender.infoAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.infoAppender.layout.ConversionPattern=%d %5p - %m%n
-log4j.logger.sonar-info=INFO, infoAppender
log4j.appender.infoAppender.MaxFileSize=500KB
log4j.appender.infoAppender=org.apache.log4j.RollingFileAppender
@@ -39,7 +50,6 @@
log4j.appender.warnAppender.File=_LOGPATH_/perfsonar_warn.log
log4j.appender.warnAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.warnAppender.layout.ConversionPattern=%d %5p - %m%n
-log4j.logger.sonar-warn=WARN, warnAppender
log4j.appender.warnAppender.MaxFileSize=500KB
log4j.appender.warnAppender=org.apache.log4j.RollingFileAppender
@@ -48,7 +58,6 @@
log4j.appender.errorAppender.File=_LOGPATH_/perfsonar_error.log
log4j.appender.errorAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.errorAppender.layout.ConversionPattern=%d %5p - %m%n
-log4j.logger.sonar-error=ERROR, errorAppender
log4j.appender.errorAppender.MaxFileSize=500KB
log4j.appender.errorAppender=org.apache.log4j.RollingFileAppender
@@ -57,6 +66,23 @@
log4j.appender.fatalAppender.File=_LOGPATH_/perfsonar_fatal.log
log4j.appender.fatalAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.fatalAppender.layout.ConversionPattern=%d %5p - %m%n
-log4j.logger.sonar-fatal=FATAL, fatalAppender
log4j.appender.fatalAppender.MaxFileSize=500KB
log4j.appender.fatalAppender=org.apache.log4j.RollingFileAppender
+
+#ALL
+log4j.appender.psRootAppender.MaxBackupIndex=11
+log4j.appender.psRootAppender.File=_LOGPATH_/perfsonar.log
+log4j.appender.psRootAppender.layout=org.apache.log4j.PatternLayout
+log4j.appender.psRootAppender.layout.ConversionPattern=%d %5p - %m%n
+log4j.appender.psRootAppender=org.apache.log4j.RollingFileAppender
+log4j.appender.psRootAppender.MaxFileSize=500KB
+
+
+#ROOT
+#log4j.appender.rootAppender.MaxBackupIndex=11
+#log4j.appender.rootAppender.File=_LOGPATH_/perfsonar_root.log
+#log4j.appender.rootAppender.layout=org.apache.log4j.PatternLayout
+#log4j.appender.rootAppender.layout.ConversionPattern=%d %5p - %m%n
+#log4j.rootLogger=DEBUG, rootAppender
+#log4j.appender.rootAppender.MaxFileSize=500KB
+#log4j.appender.rootAppender=org.apache.log4j.RollingFileAppender
- perfsonar: r2763 - branches/new-structure/trunk/geant2_java-xml-ls/conf, svnlog, 09/04/2007
Archive powered by MHonArc 2.6.16.