From 3d356cc9ef7b1055242256c00a2e6b93b5462880 Mon Sep 17 00:00:00 2001 From: Dimitar Misev Date: Sat, 5 Feb 2011 22:44:35 +0100 Subject: WCS 2.0 implementation in Petascope --- petascope/src/log4j.properties | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) (limited to 'petascope/src/log4j.properties') diff --git a/petascope/src/log4j.properties b/petascope/src/log4j.properties index b394c5f..15649c1 100644 --- a/petascope/src/log4j.properties +++ b/petascope/src/log4j.properties @@ -1,34 +1,13 @@ -# ============================================================= -# ------------------- petascope log configuration ------------ -# ============================================================= -# -# This is the configuration file for the log4j-based petascope logging. -# -# ============================================================= -# ------------------- log output configuration --------------- -# ============================================================= +log4j.rootLogger=TRACE, rollingFile, stdout -# The rootLogger option defines where the log output should go. -# Log4j uses appender to direct the output to a specific target. -# By default deegree logs to the console (appender: stdout) -log4j.rootLogger=INFO, stdout -# To also log into a logfile (example below): -#log4j.rootLogger=INFO, logfile, stdout - -# Below is the configuration of the log appender. The format of -# the log messages is configured with the ConversionPattern option. -# see http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html - -# =============== console output appender ===================== log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %5p: [%c{1}] %m%n +log4j.appender.stdout.layout.ConversionPattern=%6p [%d{HH:mm:ss}] %c{1}@%L: %m%n -# =================== common logging ========================= -# The log level for all classes that are not configured below. -log4j.logger.petascope=INFO +log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender +log4j.appender.rollingFile.File=petascope.log +log4j.appender.rollingFile.MaxFileSize=10MB +log4j.appender.rollingFile.MaxBackupIndex=2 +log4j.appender.rollingFile.layout = org.apache.log4j.PatternLayout +log4j.appender.rollingFile.layout.ConversionPattern= %6p:[%d{HH:mm:ss}] %c{1}@%L: %m%n -log4j.logger.petascope.wcps=DEBUG -log4j.logger.petascope.wcst=DEBUG -log4j.logger.petascope.wcs=DEBUG -log4j.logger.petascope.wcs2=TRACE \ No newline at end of file -- cgit