jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chrisdol...@apache.org
Subject svn commit: r1438450 - in /jena/Scratch/Eyeball/trunk: build.xml src/main/resources/log4j.properties
Date Fri, 25 Jan 2013 11:02:09 GMT
Author: chrisdollin
Date: Fri Jan 25 11:02:09 2013
New Revision: 1438450

URL: http://svn.apache.org/viewvc?rev=1438450&view=rev
Log:
Added a log4j properties file to silence messages.

Added:
    jena/Scratch/Eyeball/trunk/src/main/resources/log4j.properties
Removed:
    jena/Scratch/Eyeball/trunk/build.xml

Added: jena/Scratch/Eyeball/trunk/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/jena/Scratch/Eyeball/trunk/src/main/resources/log4j.properties?rev=1438450&view=auto
==============================================================================
--- jena/Scratch/Eyeball/trunk/src/main/resources/log4j.properties (added)
+++ jena/Scratch/Eyeball/trunk/src/main/resources/log4j.properties Fri Jan 25 11:02:09 2013
@@ -0,0 +1,31 @@
+log4j.rootLogger=WARN, stderr
+
+# Set up logging to include a file record of the output
+# Note: the file is always created, even if there is 
+# no actual output.
+# log4j.rootLogger=INFO, stderr, R
+
+# Example of switching on debug level logging for part of tree
+# log4j.logger.com.hp.hpl.jena.graph.test=debug
+
+# Log format to standard out
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+# Pattern to output the caller's file name and line number.
+log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
+
+# Log format to standard error
+log4j.appender.stderr=org.apache.log4j.ConsoleAppender
+log4j.appender.stderr.target=System.err
+log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
+# Pattern to output the caller's file name and line number.
+log4j.appender.stderr.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
+
+# File based log output
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.R.File=jena2.log
+log4j.appender.R.MaxFileSize=5000KB
+# Keep one backup file
+log4j.appender.R.MaxBackupIndex=1
+log4j.appender.R.layout=org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n



Mime
View raw message