• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assigning log4j log levels to logging "business" information

 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic