incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r315042 - /incubator/graffito/trunk/jcr-mapping/src/test/log4j.properties
Date Wed, 12 Oct 2005 20:44:44 GMT
Author: clombart
Date: Wed Oct 12 13:44:41 2005
New Revision: 315042

URL: http://svn.apache.org/viewcvs?rev=315042&view=rev
Log:
Update log4j config used for the unit tests

Modified:
    incubator/graffito/trunk/jcr-mapping/src/test/log4j.properties

Modified: incubator/graffito/trunk/jcr-mapping/src/test/log4j.properties
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/jcr-mapping/src/test/log4j.properties?rev=315042&r1=315041&r2=315042&view=diff
==============================================================================
--- incubator/graffito/trunk/jcr-mapping/src/test/log4j.properties (original)
+++ incubator/graffito/trunk/jcr-mapping/src/test/log4j.properties Wed Oct 12 13:44:41 2005
@@ -1,19 +1,38 @@
-# Set root logger level to DEBUG and its only appender to A1.
-log4j.rootLogger=INFO, stdout, file
-#log4j.rootLogger=DEBUG, stdout, file
-#log4j.rootLogger=ERROR, stdout, file
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ========================================================================
+ */
 
-# 'stdout' is set to be a ConsoleAppender.
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+# ------------------------------------------------------------------------
+#
+# Logging Configuration
+#
+# $Id: Log4j.properties,v 1.3 2004/12/22 20:37:04 christophe Exp $
+#
+# ------------------------------------------------------------------------
 
-# '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
+log4j.rootLogger = WARN, console
 
-# 'file' is set to be a FileAppender.
-log4j.appender.file=org.apache.log4j.FileAppender
-log4j.appender.file.File=jcr-mapping.log
+log4j.category.org.apache.portals.graffito.jcr= DEBUG, console
+log4j.additivity.org.apache.portals.graffito.jcr=false
 
-# '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
+#
+# Console
+#
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+
+# Pattern to output the caller's file name and line number.
+log4j.appender.console.layout.ConversionPattern=%5p: %m%n
\ No newline at end of file



Mime
View raw message