On Apr 4, 2007, at 11:17 AM, Bret Schuhmacher wrote:

There are messages I want to print all the time, such as entry/exit into
main(), regardless what threshold the user has set.  I've been doing
this with logger.fatal().  Unfortunately, this prints "FATAL" in your
simple message, which alarms the *hell* out of customers.  Even though
the message says something innocuous like "Entering main - processing
beginning", I've had customers require huge write-ups explaining that
FATAL isn't actually a FATAL error. Is there a way to either change the word "FATAL" or get a message to print in all circumstances without the word FATAL appearing? As I'm writing this, I'm all of a sudden thinking that I could use a different logger with a different conversionpattern,
one without the level in it.  Is that how others do this?

Thanks!

Bret



You could use the ALL level which is even higher than FATAL:

logger.log(Level.ALL, "Just try to stop me");






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to