| Author |
Assigning log4j log levels to logging "business" information
|
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
I was wondering where in the log4j levels I should assign "business" info. 1) INFO ? In that case I get all the warnings and errors and crap as well. 2)BIZZ? - a new level, turning off all errors, warnings, info, debug. 3)Use separate logger only for "business" information and log at INFO level. All comments, ideas welcome. Thanks, -Barry
|
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
I reckon I can assign an LevelMatchFilter to an Appender to get just the INFO level messages out to a file. [ September 24, 2004: Message edited by: Barry Gaunt ]
|
 |
 |
|
|
subject: Assigning log4j log levels to logging "business" information
|
|
|