Log4net doesn't have anything built-in to support that. One strategy might be to keep the <logger /> at DEBUG and set the <appender />'s threshold to WARN. If the number of warnings overflows some allowable level, you could change that <appender />'s threshold to INFO for a certain amount of time then bump it back up to WARN.
In situations like this is sometimes helpful to see if there is log4j appender that does something similiar. Sometimes they have interesting appenders in their trunk or branches. ----- Original Message ---- From: rodchar <rodc...@hotmail.com> To: log4net-dev@logging.apache.org Sent: Sunday, February 22, 2009 12:11:45 PM Subject: turn up/down message details hey all, is there a way to throttle up/down the verboseness of a log message? for instance, low details when application is running fine, high details when there's a problem and need to debug? thanks, rodchar -- View this message in context: http://www.nabble.com/turn-up-down-message-details-tp22149036p22149036.html Sent from the Log4net - Dev mailing list archive at Nabble.com.