perfsonar-dev - perfsonar: r4272 - trunk/ps-mdm-flowsa-ma/conf
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4272 - trunk/ps-mdm-flowsa-ma/conf
- Date: Tue, 22 Jul 2008 19:17:52 -0400
Author: michael.bischoff
Date: 2008-07-22 19:17:52 -0400 (Tue, 22 Jul 2008)
New Revision: 4272
Added:
trunk/ps-mdm-flowsa-ma/conf/log4j.syslog.properties
Modified:
trunk/ps-mdm-flowsa-ma/conf/log4j.properties
Log:
Syslog
Modified: trunk/ps-mdm-flowsa-ma/conf/log4j.properties
===================================================================
--- trunk/ps-mdm-flowsa-ma/conf/log4j.properties 2008-07-22 18:15:53
UTC (rev 4271)
+++ trunk/ps-mdm-flowsa-ma/conf/log4j.properties 2008-07-22 23:17:52
UTC (rev 4272)
@@ -1,27 +1,234 @@
-log4j.rootLogger=INFO, rootAppender
-log4j.threshhold=DEBUG
-
-log4j.appender.rootAppender.MaxBackupIndex=10
-log4j.appender.rootAppender.File=${catalina.home}/logs/ps-mdm-flowsa-ma-root.log
-log4j.appender.rootAppender.layout=org.apache.log4j.PatternLayout
-log4j.appender.rootAppender.layout.ConversionPattern=%d %5p - %m%n
-log4j.appender.rootAppender.MaxFileSize=500KB
-log4j.appender.rootAppender=org.apache.log4j.RollingFileAppender
-
-log4j.appender.FILE=org.apache.log4j.RollingFileAppender
-log4j.appender.FILE.File=${catalina.home}/logs/ps-mdm-flowsa-ma.log
-log4j.appender.FILE.MaxFileSize=10MB
-log4j.appender.FILE.MaxBackupIndex=10
-log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.FILE.layout.ConversionPattern=%p [%t] (%F:%L) %c - %m%n
-
-log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%t] (%F:%L) %c - %m%n
-
-log4j.logger.sonar-debug=DEBUG, FILE, CONSOLE
-log4j.logger.sonar-info=INFO, FILE, CONSOLE
-log4j.logger.sonar-warn=WARN, FILE, CONSOLE
-log4j.logger.sonar-error=ERROR, FILE, CONSOLE
-log4j.logger.sonar-fatal=FATAL, FILE, CONSOLE
-
+## $Id$
+## project : perfSONAR
+## author: romradz
+
+
+
+
+# Group=Logging
+# Description=The location of the log directory.
+logDir=/var/lib/tomcat5.5/logs
+
+
+##
+## All log levels in one log file.
+## By default debug level is switched off (commented).
+##
+
+# Group=Log levels
+# Description=Assigns debug log messages to the specified log appender.
+#log4j.logger.sonar-debug=DEBUG, psRootAppender
+
+# Group=Log levels
+# Description=Assigns info log messages to the specified log appender.
+log4j.logger.sonar-info=INFO, psRootAppender
+
+# Group=Log levels
+# Description=Assigns warn log messages to the specified log appender.
+log4j.logger.sonar-warn=WARN, psRootAppender
+
+# Group=Log levels
+# Description=Assigns error log messages to the specified log appender.
+log4j.logger.sonar-error=ERROR, psRootAppender
+
+# Group=Log levels
+# Description=Assigns fatal log messages to the specified log appender.
+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
+##
+## 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
+
+
+
+
+######################################### DEBUG
#######################################
+
+# Group=Debug message logging
+# Description=The maximum number of backup log files to create.
+log4j.appender.debugAppender.MaxBackupIndex=11
+
+# Group=Debug message logging
+# Description=The path to the log file, including the log file's name.
+log4j.appender.debugAppender.File=/var/lib/tomcat5.5/logs/perfsonar_debug.log
+
+# Group=Debug message logging
+# Description=The class responsible for the logging layout.
+log4j.appender.debugAppender.layout=org.apache.log4j.PatternLayout
+
+# Group=Debug message logging
+# Description=The log message format.
+log4j.appender.debugAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+
+# Group=Debug message logging
+# Description=The maximum size the log file can reach before it replaces the
oldest backup file and a new log file is started.
+log4j.appender.debugAppender.MaxFileSize=500KB
+
+# Group=Debug message logging
+# Description=The class responsible for appending log messages to the log
file.
+log4j.appender.debugAppender=org.apache.log4j.RollingFileAppender
+
+
+
+######################################### INFO
########################################
+
+# Group=Info message logging
+# Description=The maximum number of backup log files to create.
+log4j.appender.infoAppender.MaxBackupIndex=11
+
+# Group=Info message logging
+# Description=The path to the log file, including the log file's name.
+log4j.appender.infoAppender.File=/var/lib/tomcat5.5/logs/perfsonar_info.log
+
+# Group=Info message logging
+# Description=The class responsible for the logging layout.
+log4j.appender.infoAppender.layout=org.apache.log4j.PatternLayout
+
+# Group=Info message logging
+# Description=The log message format.
+log4j.appender.infoAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+
+# Group=Info message logging
+# Description=The maximum size the log file can reach before it replaces the
oldest backup file and a new log file is started.
+log4j.appender.infoAppender.MaxFileSize=500KB
+
+# Group=Info message logging
+# Description=The class responsible for appending log messages to the log
file.
+log4j.appender.infoAppender=org.apache.log4j.RollingFileAppender
+
+
+
+######################################### WARN
########################################
+
+# Group=Warn message logging
+# Description=The maximum number of backup log files to create.
+log4j.appender.warnAppender.MaxBackupIndex=11
+
+# Group=Warn message logging
+# Description=The path to the log file, including the log file's name.
+log4j.appender.warnAppender.File=/var/lib/tomcat5.5/logs/perfsonar_warn.log
+
+# Group=Warn message logging
+# Description=The class responsible for the logging layout.
+log4j.appender.warnAppender.layout=org.apache.log4j.PatternLayout
+
+# Group=Warn message logging
+# Description=The log message format.
+log4j.appender.warnAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+
+# Group=Warn message logging
+# Description=The maximum size the log file can reach before it replaces the
oldest backup file and a new log file is started.
+log4j.appender.warnAppender.MaxFileSize=500KB
+
+# Group=Warn message logging
+# Description=The class responsible for appending log messages the log file.
+log4j.appender.warnAppender=org.apache.log4j.RollingFileAppender
+
+
+
+######################################### ERROR
#######################################
+
+# Group=Error message logging
+# Description=The maximum number of backup log files to create.
+log4j.appender.errorAppender.MaxBackupIndex=11
+
+# Group=Error message logging
+# Description=The path to the log file, including the log file's name.
+log4j.appender.errorAppender.File=/var/lib/tomcat5.5/logs/perfsonar_error.log
+
+# Group=Error message logging
+# Description=The class responsible for the logging layout.
+log4j.appender.errorAppender.layout=org.apache.log4j.PatternLayout
+
+# Group=Error message logging
+# Description=The log message format.
+log4j.appender.errorAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+
+# Group=Error message logging
+# Description=The maximum size the log file can reach before it replaces the
oldest backup file and a new log file is started.
+log4j.appender.errorAppender.MaxFileSize=500KB
+
+# Group=Error message logging
+# Description=The class responsible for appending log messages the log file.
+log4j.appender.errorAppender=org.apache.log4j.RollingFileAppender
+
+
+
+######################################### FATAL
#######################################
+
+# Group=Fatal message logging
+# Description=The maximum number of backup log files to create.
+log4j.appender.fatalAppender.MaxBackupIndex=11
+
+# Group=Fatal message logging
+# Description=The path to the log file, including the log file's name.
+log4j.appender.fatalAppender.File=/var/lib/tomcat5.5/logs/perfsonar_fatal.log
+
+# Group=Fatal message logging
+# Description=The class responsible for the logging layout.
+log4j.appender.fatalAppender.layout=org.apache.log4j.PatternLayout
+
+# Group=Fatal message logging
+# Description=The log message format.
+log4j.appender.fatalAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+
+# Group=Fatal message logging
+# Description=The maximum size the log file can reach before it replaces the
oldest backup file and a new log file is started.
+log4j.appender.fatalAppender.MaxFileSize=500KB
+
+# Group=Fatal message logging
+# Description=The class responsible for appending log messages the log file.
+log4j.appender.fatalAppender=org.apache.log4j.RollingFileAppender
+
+
+
+######################################### ALL
#########################################
+
+# Group=All message logging
+# Description=The maximum number of backup log files to create.
+log4j.appender.psRootAppender.MaxBackupIndex=11
+
+# Group=All message logging
+# Description=The path to the log file, including the log file's name.
+log4j.appender.psRootAppender.File=/var/lib/tomcat5.5/logs/perfsonar.log
+
+# Group=All message logging
+# Description=The class responsible for the logging layout.
+log4j.appender.psRootAppender.layout=org.apache.log4j.PatternLayout
+
+# Group=All message logging
+# Description=The log message format.
+log4j.appender.psRootAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+
+# Group=All message logging
+# Description=The maximum size the log file can reach before it replaces the
oldest backup file and a new log file is started.
+log4j.appender.psRootAppender.MaxFileSize=500KB
+
+# Group=All message logging
+# Description=The class responsible for appending log messages the log file.
+log4j.appender.psRootAppender=org.apache.log4j.RollingFileAppender
+
+
+
+######################################### ROOT
#########################################
+
+# this section is only for developer's tests
+
+# ROOT
+#log4j.appender.rootAppender.MaxBackupIndex=11
+#log4j.appender.rootAppender.File=/var/lib/tomcat5.5/logs/perfsonar_root.log
+#log4j.appender.rootAppender.layout=org.apache.log4j.PatternLayout
+#log4j.appender.rootAppender.layout.ConversionPattern=%d
%%PS-MDM-FLOWSA-MA.%p%% %m%n
+#log4j.rootLogger=DEBUG, rootAppender
+#log4j.appender.rootAppender.MaxFileSize=500KB
+#log4j.appender.rootAppender=org.apache.log4j.RollingFileAppender
\ No newline at end of file
Added: trunk/ps-mdm-flowsa-ma/conf/log4j.syslog.properties
- perfsonar: r4272 - trunk/ps-mdm-flowsa-ma/conf, svnlog, 07/22/2008
Archive powered by MHonArc 2.6.16.