dev@glassfish.java.net

Server log message format standards...

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Sat, 15 Jul 2006 10:39:25 -0700

I am wondering if there is a "standard" format for error messages in the
log...

It seems like there is a couple different standards at play today.

For example, I see messages like:

[#|2006-07-15T09:54:59.148-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098:
AS Socket Service Initialization has been completed.|#]

and messages like:

[#|2006-07-15T09:54:57.488-0700|INFO|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting
Sun Java System Application Server Platform Edition 9.0 (build b03) ...|#]

The first message is "nice" for automation, since it has an identifier
(CORE5098).

The second isn't so friendly to automation.

Which message is "correct"?

Since messages show up in the log and their source module might not be
evident, how should we handle filing issues for poor [unhelpful] or
incorrect [non-standard] messages?

vbk