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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
java:log4j [2013/07/15 11:30] rlunarojava:log4j [2018/08/03 10:23] rlunaro
Line 88: Line 88:
 # in this case, we will output he content to a file appender  # in this case, we will output he content to a file appender 
 log4j.appender.A1 = org.apache.log4j.FileAppender log4j.appender.A1 = org.apache.log4j.FileAppender
 +# OPTIONAL: a specific log level can be configured for 
 +# this appender only
 +# log4j.appender.A1.threshold=ERROR
 log4j.appender.A1.file = c\:/temp/filename.log log4j.appender.A1.file = c\:/temp/filename.log
 log4j.appender.A1.layout = org.apache.log4j.PatternLayout log4j.appender.A1.layout = org.apache.log4j.PatternLayout
java/log4j.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1