You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by jc...@apache.org on 2007/01/04 09:06:26 UTC

svn commit: r492439 - in /directory/sandbox/jconlon/osgi-services/logging-service-integration-test: README src/test/resources/log4j.properties

Author: jconlon
Date: Thu Jan  4 00:06:25 2007
New Revision: 492439

URL: http://svn.apache.org/viewvc?view=rev&rev=492439
Log:
Added logging properties to enable framework logging.

Added:
    directory/sandbox/jconlon/osgi-services/logging-service-integration-test/src/test/resources/log4j.properties
Modified:
    directory/sandbox/jconlon/osgi-services/logging-service-integration-test/README

Modified: directory/sandbox/jconlon/osgi-services/logging-service-integration-test/README
URL: http://svn.apache.org/viewvc/directory/sandbox/jconlon/osgi-services/logging-service-integration-test/README?view=diff&rev=492439&r1=492438&r2=492439
==============================================================================
--- directory/sandbox/jconlon/osgi-services/logging-service-integration-test/README (original)
+++ directory/sandbox/jconlon/osgi-services/logging-service-integration-test/README Thu Jan  4 00:06:25 2007
@@ -9,6 +9,11 @@
 only problem with the test suite and is not the case
 for production usage of the logging-service bundle.
 
-To workaround do not use a log4j.properties file and
-allow the bundle to do a basic configuration as the
-default. 
+To workaround do not place a log4j.properties file in
+the conf directory this will allow the bundle to do a 
+basic configuration as the default. 
+
+To watch the logging output of the internal spring test
+classes a log4j.properties file has been added to the 
+src/test/resources directory.
+

Added: directory/sandbox/jconlon/osgi-services/logging-service-integration-test/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/jconlon/osgi-services/logging-service-integration-test/src/test/resources/log4j.properties?view=auto&rev=492439
==============================================================================
--- directory/sandbox/jconlon/osgi-services/logging-service-integration-test/src/test/resources/log4j.properties (added)
+++ directory/sandbox/jconlon/osgi-services/logging-service-integration-test/src/test/resources/log4j.properties Thu Jan  4 00:06:25 2007
@@ -0,0 +1,14 @@
+#log4j.properties file
+# to debug this file add the vm argument 
+# -Dlog4j.debug=true
+# RootCategory all other categories inherit from this
+log4j.rootCategory=DEBUG,console
+
+log4j.category.org.springframework.osgi.test=DEBUG
+
+
+# Console Appender
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.target=System.out
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%-5p  %l - %m%n
\ No newline at end of file