You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ionel GARDAIS <ig...@yahoo.fr> on 2007/04/04 18:20:08 UTC
RE : I don't like the word "FATAL"
Hi,
You could create your own level with the same priority
than Level.FATAL
Ionel
--- Bret Schuhmacher <br...@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