Strabon

changeset 218:56e02a58c9f2

added sample configuration file for log4j (under runtime/ for the time being)
author Babis Nikolaou <charnik@di.uoa.gr>
date Thu May 31 21:14:12 2012 +0300 (2012-05-31)
parents 6503f99b6b54
children aa01c5a89aa6
files runtime/log4j.properties
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/runtime/log4j.properties	Thu May 31 21:14:12 2012 +0300
     1.3 @@ -0,0 +1,16 @@
     1.4 +log4j.rootLogger=INFO, CA
     1.5 +#log4j.rootLogger=INFO, CA, FA
     1.6 +
     1.7 +# Console Appender
     1.8 +log4j.appender.CA=org.apache.log4j.ConsoleAppender
     1.9 +log4j.appender.CA.layout=org.apache.log4j.PatternLayout
    1.10 +log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    1.11 +
    1.12 +# File Appender
    1.13 +#log4j.appender.FA=org.apache.log4j.FileAppender
    1.14 +#log4j.appender.FA.File=sample.log
    1.15 +#log4j.appender.FA.layout=org.apache.log4j.PatternLayout
    1.16 +#log4j.appender.FA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    1.17 +# Set the logger level of File Appender to WARN
    1.18 +#log4j.appender.FA.Threshold = WARN
    1.19 +