Skip to content
This repository
Browse code

log to a file

  • Loading branch information...
commit 332f33652435e9575aa7fa3d929cb8ad9a1a63fc 1 parent 63621fd
Kevin Downey authored

Showing 1 changed file with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. +9 1 resources/log4j.properties
10 resources/log4j.properties
... ... @@ -1,4 +1,12 @@
1   -log4j.rootLogger=debug, C
2 1 log4j.appender.C = org.apache.log4j.ConsoleAppender
3 2 log4j.appender.C.layout = org.apache.log4j.PatternLayout
4 3 log4j.appender.C.layout.ConversionPattern = %d | %-5p | %c | %m%n
  4 +
  5 +log4j.appender.F = org.apache.log4j.FileAppender
  6 +log4j.appender.F.File = clojurebot.log
  7 +log4j.appender.F.Append = false
  8 +log4j.appender.F.layout = org.apache.log4j.PatternLayout
  9 +log4j.appender.F.layout.ConversionPattern = %d | %-5p | %c | %m%n
  10 +
  11 +log4j.rootLogger=info, F
  12 +log4j.logger.clojurebot=debug

0 comments on commit 332f336

Please sign in to comment.
Something went wrong with that request. Please try again.