Browse Source
This enables the command line to log. Include log4j configuration to log warnings and errors to stderr. Exclude the dependencies which log4j 1.2.15 should have marked optional. See http://unitstep.net/blog/2009/05/18/resolving-log4j-1215-dependency-problems-in-maven-using-exclusions/ for details Change-Id: Ie730db4007fb7614fd7d130cd0858b1ac550066a Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>stable-4.0
Matthias Sohn
10 years ago
committed by
Christian Halstrick
3 changed files with 42 additions and 0 deletions
@ -0,0 +1,6 @@
|
||||
log4j.rootLogger=WARNING, stderr |
||||
|
||||
log4j.appender.stderr=org.apache.log4j.ConsoleAppender |
||||
log4j.appender.stderr.Target=System.err |
||||
log4j.appender.stderr.layout=org.apache.log4j.PatternLayout |
||||
log4j.appender.stderr.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n |
Loading…
Reference in new issue