Hi all,

I'm looking for a way to force a log without using Fatal.
For example, let us say I want to print a log with the application name and
version.  I want this printed regardless of what the log level is.

Right now, I am just using the fatal log level.  The problem with this is it
ruins some of the data collection we have where we have a count of the
number of errors/fatal logs.

Is there some way to do a logger.ForcedLog( INFO, "my string") ?  Which
basically ignores the priority of the message, but still logs it?

I have see this ForcedLog API in log4j
(http://logging.apache.org/log4j/1.2/apidocs/index.html)
but it does not seem to in log4net (1.2.10.0).

Thanks,




-- 
View this message in context: 
http://www.nabble.com/forced-log-tp25259981p25259981.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

Reply via email to