You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by Shaily Goel <gs...@novell.com> on 2005/04/21 07:13:09 UTC

Severity Threshold

Currently the way log4net works is :
 
If I have set the File Appender threshold to "Info" then it will
receive all those messages which has severity greater or equal to Info.
For e.g It will receive Error and Warning messages also if threshold of
Fileappender is set to "Info".
 
Is there any way by which I can say "Only Info" messages should be
logged by FileAppender. Rest all other messages(may be Error/Warning
etc) should be discarded.
 
Thanks
Shaily