Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

log to a file

  • Loading branch information...
commit 332f33652435e9575aa7fa3d929cb8ad9a1a63fc 1 parent 63621fd
@hiredman authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 resources/log4j.properties
View
10 resources/log4j.properties
@@ -1,4 +1,12 @@
-log4j.rootLogger=debug, C
log4j.appender.C = org.apache.log4j.ConsoleAppender
log4j.appender.C.layout = org.apache.log4j.PatternLayout
log4j.appender.C.layout.ConversionPattern = %d | %-5p | %c | %m%n
+
+log4j.appender.F = org.apache.log4j.FileAppender
+log4j.appender.F.File = clojurebot.log
+log4j.appender.F.Append = false
+log4j.appender.F.layout = org.apache.log4j.PatternLayout
+log4j.appender.F.layout.ConversionPattern = %d | %-5p | %c | %m%n
+
+log4j.rootLogger=info, F
+log4j.logger.clojurebot=debug
Please sign in to comment.
Something went wrong with that request. Please try again.