Author: trustin
Date: Thu Sep 27 01:43:12 2007
New Revision: 579946
URL: http://svn.apache.org/viewvc?rev=579946&view=rev
Log:
Added log4j configuration as a test resource
Added:
mina/trunk/core/src/test/resources/
mina/trunk/core/src/test/resources/log4j.properties (with props)
Added: mina/trunk/core/src/test/resources/log4j.properties
URL:
http://svn.apache.org/viewvc/mina/trunk/core/src/test/resources/log4j.properties?rev=579946&view=auto
==============================================================================
--- mina/trunk/core/src/test/resources/log4j.properties (added)
+++ mina/trunk/core/src/test/resources/log4j.properties Thu Sep 27 01:43:12 2007
@@ -0,0 +1,10 @@
+# Please don't modify the log level until we reach to acceptable test coverage.
+# It's very useful when I test examples manually.
+log4j.rootCategory=INFO, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
+# you could use this pattern to test the MDC with the Chat server
+#log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %t %p %X{name}
[%X{user}] [%X{remoteIp}:%X{remotePort}] [%c] - %m%n
\ No newline at end of file
Propchange: mina/trunk/core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: mina/trunk/core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: mina/trunk/core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain