Permalink
Browse files

added the log4j files.

  • Loading branch information...
1 parent 0df5bc3 commit e4843b0f783b9bf4adc93311e30783f807d97d10 @ricklon ricklon committed May 11, 2011
Showing with 9 additions and 0 deletions.
  1. BIN app/lib/log4j-1.2.16.jar
  2. +9 −0 app/lib/log4j.properties
View
Binary file not shown.
View
@@ -0,0 +1,9 @@
+#define the console appender
+log4j.appender.consoleAppender = org.apache.log4j.ConsoleAppender
+
+# now define the layout for the appender
+log4j.appender.consoleAppender.layout = org.apache.log4j.PatternLayout
+log4j.appender.consoleAppender.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+# now map our console appender as a root logger, means all log messages will go to this appender
+log4j.rootLogger = DEBUG, consoleAppender

0 comments on commit e4843b0

Please sign in to comment.