Skip to content

Commit

Permalink
Updating configuration for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mainstringargs committed Nov 5, 2018
1 parent 05c7f55 commit 555c7b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

compileJava {
options.debug = true
}
8 changes: 8 additions & 0 deletions src/main/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Root logger
log4j.rootLogger=DEBUG, stdout

# log to console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%t] %-5p:: %m%n

0 comments on commit 555c7b2

Please sign in to comment.