User Tools

Site Tools


java:log4j

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
java:log4j [2018/08/03 10:23]
rlunaro
java:log4j [2018/08/03 10:25] (current)
rlunaro
Line 79: Line 79:
 # console # console
 log4j.appender.console = org.apache.log4j.ConsoleAppender log4j.appender.console = org.apache.log4j.ConsoleAppender
 +# to set specifically to output to the System error console¬†
 +log4j.appender.console.target=System.err
 # set a layout for this appender (see at botton list of available layouts) # set a layout for this appender (see at botton list of available layouts)
 log4j.appender.console.layout = org.apache.log4j.PatternLayout log4j.appender.console.layout = org.apache.log4j.PatternLayout
java/log4j.txt · Last modified: 2018/08/03 10:25 by rlunaro