perfsonar-dev - perfsonar: r4146 - trunk/geant2_java-as/conf
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4146 - trunk/geant2_java-as/conf
- Date: Wed, 9 Jul 2008 04:50:24 -0400
Author: rodriguez
Date: 2008-07-09 04:50:24 -0400 (Wed, 09 Jul 2008)
New Revision: 4146
Modified:
trunk/geant2_java-as/conf/log4j.properties.template
Log:
- Adding SYSLOG support
Modified: trunk/geant2_java-as/conf/log4j.properties.template
===================================================================
--- trunk/geant2_java-as/conf/log4j.properties.template 2008-07-08 15:23:25
UTC (rev 4145)
+++ trunk/geant2_java-as/conf/log4j.properties.template 2008-07-09 08:50:24
UTC (rev 4146)
@@ -17,23 +17,23 @@
# Group=Log levels
# Description=Assigns debug log messages to the specified log appender.
-#log4j.logger.sonar-debug=DEBUG, psRootAppender
+#log4j.logger.sonar-debug=DEBUG, SYSLOG, psRootAppender
# Group=Log levels
# Description=Assigns info log messages to the specified log appender.
-log4j.logger.sonar-info=INFO, psRootAppender
+log4j.logger.sonar-info=INFO, SYSLOG, psRootAppender
# Group=Log levels
# Description=Assigns warn log messages to the specified log appender.
-log4j.logger.sonar-warn=WARN, psRootAppender
+log4j.logger.sonar-warn=WARN, SYSLOG, psRootAppender
# Group=Log levels
# Description=Assigns error log messages to the specified log appender.
-log4j.logger.sonar-error=ERROR, psRootAppender
+log4j.logger.sonar-error=ERROR, SYSLOG, psRootAppender
# Group=Log levels
# Description=Assigns fatal log messages to the specified log appender.
-log4j.logger.sonar-fatal=FATAL, psRootAppender
+log4j.logger.sonar-fatal=FATAL, SYSLOG, psRootAppender
@@ -43,11 +43,11 @@
##
## this section is only for developer tests
##
-#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
+#log4j.logger.sonar-debug=DEBUG, SYSLOG, debugAppender, psRootAppender
+#log4j.logger.sonar-info=INFO, SYSLOG, infoAppender, psRootAppender
+#log4j.logger.sonar-warn=WARN, SYSLOG, warnAppender, psRootAppender
+#log4j.logger.sonar-error=ERROR, SYSLOG, errorAppender, psRootAppender
+#log4j.logger.sonar-fatal=FATAL, SYSLOG, fatalAppender, psRootAppender
@@ -219,7 +219,26 @@
log4j.appender.psRootAppender=org.apache.log4j.RollingFileAppender
+######################################### SYSLOG
#########################################
+# Group=Syslog logging
+# Description=The class responsible for appending log messages to the syslog
file.
+log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
+
+# Group=Syslog logging
+# Description=IP address of the host executing syslog-ng
+log4j.appender.SYSLOG.syslogHost=127.0.0.1
+
+# Group=Syslog logging
+# Description=The class responsible for the logging layout.
+log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout
+
+# Group=Syslog logging
+# Description=The log message format. It can includes @Location after
PERFSONAR-AS.
+log4j.appender.SYSLOG.layout.ConversionPattern=\%PERFSONAR-AS.%p\% %m%n
+
+
+
######################################### ROOT
#########################################
# this section is only for developer's tests
@@ -231,4 +250,4 @@
#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
+#log4j.appender.rootAppender=org.apache.log4j.RollingFileAppender
\ No newline at end of file
- perfsonar: r4146 - trunk/geant2_java-as/conf, svnlog, 07/09/2008
Archive powered by MHonArc 2.6.16.