dev@glassfish.java.net

Re: Action : SEVERE, WARNING, INFO log messages

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Fri, 02 Oct 2009 14:37:53 -0700

I think that rule also applies to Exceptions -- many/most Exception
messages are eventually logged.

Jerome Dochez wrote:
> Hi all
>
> Please review your modules for presence of logging activities at
> SEVERE, WARNING, INFO levels with messages that are not
> internationalized.
> As you know all messages above INFO level must be internationalized.
>
> While you are at it, please review that such messages have a message
> ID, see [1].
>
> If you find messages above INFO level which are not internationalized,
> you must do either :
>
> 1. add the proper string lookup from the local strings.
> 2. lower the level if the message is a necessity to the user's
> understanding of the situation.
>
> I would rather see (1) of course.
>
>
> Jerome
>
> [1]
> http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishV3LoggingMessageFormat
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>