jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r649400 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/log4j.properties
Date Fri, 18 Apr 2008 08:02:58 GMT
Author: angela
Date: Fri Apr 18 01:02:55 2008
New Revision: 649400

URL: http://svn.apache.org/viewvc?rev=649400&view=rev
Log:
log to file by default

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/log4j.properties

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/log4j.properties?rev=649400&r1=649399&r2=649400&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/log4j.properties (original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/resources/log4j.properties Fri Apr 18 01:02:55
2008
@@ -13,8 +13,12 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-# Set root logger level to DEBUG and its only appender to A1.
-log4j.rootLogger=INFO, stdout
+# Set root logger level to INFO and its only appender to file.
+log4j.rootLogger=INFO, file
+#log4j.rootLogger=DEBUG, stdout, file
+#log4j.rootLogger=ERROR, stdout, file
+
+log4j.logger.org.apache.jackrabbit.test=DEBUG
 
 # 'stdout' is set to be a ConsoleAppender.
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
@@ -22,3 +26,11 @@
 # 'stdout' uses PatternLayout
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}:
%m (%F, line %L)\n
+
+# 'file' is set to be a FileAppender.
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.File=target/jcr.log
+
+# 'file' uses PatternLayout.
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m
(%F, line %L)\n



Mime
View raw message