webtier@glassfish.java.net

naming conventions for LogStrings

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Sun, 18 Jan 2009 18:47:40 +0100

Hello,

workings on my changes to Valve-declarations in sun-web.xml I of course
want to react to error situations with appropriate log messages.

Now having looked at LogStrings.properties I wonder what the conventions
are.

First of all: This file seems to be in a little mess, if I might say so ;-)

Most messages contain numbers and these seem to be grouped (WEB0300...,
WEB0400...) but quite a lot are not unique (WEB0137, WEB0141 and some
more). There is even one messages that does not have any number at all
(webcontainer.missingmetro).

More relevant for my implementation: Within groups numbers are only
incremented with every message. Is that correct?

Also: All current valve related messages are in the number block
PEWebContainer. Should I add my messages there?

And finally I am curious what the numbers are good for any way. Is there
anywhere, where more information is available to these numbers than the
actual message text?


--
Wolfram