logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ionel GARDAIS <igard...@yahoo.fr>
Subject RE : I don't like the word "FATAL"
Date Wed, 04 Apr 2007 16:20:08 GMT
Hi,

You could create your own level with the same priority
than Level.FATAL

Ionel


--- Bret Schuhmacher <bret@ingrian.com> a écrit :

> 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
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail:
> log4j-user-help@logging.apache.org
> 
> 



	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses

http://fr.answers.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message