diff options
Diffstat (limited to 'petascope/src/log4j.properties')
-rw-r--r-- | petascope/src/log4j.properties | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/petascope/src/log4j.properties b/petascope/src/log4j.properties new file mode 100644 index 0000000..b394c5f --- /dev/null +++ b/petascope/src/log4j.properties @@ -0,0 +1,34 @@ +# ============================================================= +# ------------------- petascope log configuration ------------ +# ============================================================= +# +# This is the configuration file for the log4j-based petascope logging. +# +# ============================================================= +# ------------------- log output configuration --------------- +# ============================================================= + +# 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 + +# =================== common logging ========================= +# The log level for all classes that are not configured below. +log4j.logger.petascope=INFO + +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 |