java:log4j
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
java:log4j [2018/08/03 08:23] – rlunaro | java:log4j [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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.1533284619.txt.gz · Last modified: 2022/12/02 21:02 (external edit)