Strabon

changeset 290:854fbecae787

moved log4j.properties under runtime/src/main/resources/ to be found by class loaders either from Eclipse or command line. src/main/resources seems to be the typical directory for resource loading by class loaders in Maven projects
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Jun 19 15:23:33 2012 +0300 (2012-06-19)
parents daaf7760fc46
children f68dd3a4aa8b
files runtime/log4j.properties runtime/src/main/resources/log4j.properties
line diff
     1.1 --- a/runtime/log4j.properties	Mon Jun 18 21:04:33 2012 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,22 +0,0 @@
     1.4 -# logger level values: OFF, ERROR, WARN, INFO, DEBUG, ALL
     1.5 -log4j.rootLogger=OFF, CA
     1.6 -#log4j.rootLogger=DEBUG, CA
     1.7 -#log4j.rootLogger=INFO, CA, FA
     1.8 -
     1.9 -# Console Appender
    1.10 -log4j.appender.CA=org.apache.log4j.ConsoleAppender
    1.11 -log4j.appender.CA.layout=org.apache.log4j.PatternLayout
    1.12 -log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    1.13 -
    1.14 -# File Appender
    1.15 -#log4j.appender.FA=org.apache.log4j.FileAppender
    1.16 -#log4j.appender.FA.File=sample.log
    1.17 -#log4j.appender.FA.layout=org.apache.log4j.PatternLayout
    1.18 -#log4j.appender.FA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    1.19 -# Set the logger level of File Appender to WARN
    1.20 -#log4j.appender.FA.Threshold = WARN
    1.21 -
    1.22 -
    1.23 -# Sesame configuration (debug only Strabon)
    1.24 -log4j.logger.org.openrdf.query.parser.QueryParserRegistry=INFO
    1.25 -log4j.logger.org.openrdf.sail.generaldb.managers.TripleTableManager=INFO
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/runtime/src/main/resources/log4j.properties	Tue Jun 19 15:23:33 2012 +0300
     2.3 @@ -0,0 +1,22 @@
     2.4 +# logger level values: OFF, ERROR, WARN, INFO, DEBUG, ALL
     2.5 +log4j.rootLogger=OFF, CA
     2.6 +#log4j.rootLogger=DEBUG, CA
     2.7 +#log4j.rootLogger=INFO, CA, FA
     2.8 +
     2.9 +# Console Appender
    2.10 +log4j.appender.CA=org.apache.log4j.ConsoleAppender
    2.11 +log4j.appender.CA.layout=org.apache.log4j.PatternLayout
    2.12 +log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    2.13 +
    2.14 +# File Appender
    2.15 +#log4j.appender.FA=org.apache.log4j.FileAppender
    2.16 +#log4j.appender.FA.File=sample.log
    2.17 +#log4j.appender.FA.layout=org.apache.log4j.PatternLayout
    2.18 +#log4j.appender.FA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    2.19 +# Set the logger level of File Appender to WARN
    2.20 +#log4j.appender.FA.Threshold = WARN
    2.21 +
    2.22 +
    2.23 +# Sesame configuration (debug only Strabon)
    2.24 +log4j.logger.org.openrdf.query.parser.QueryParserRegistry=INFO
    2.25 +log4j.logger.org.openrdf.sail.generaldb.managers.TripleTableManager=INFO