There are some general guidelines on log levels here
http://community.jboss.org/wiki/HowToLogInJBossProjects
but I agree it can be puzzling to decide which category to use at times. More examples
might help.
The reason for having an ID for something like "Server is started" to to allow
translation in products while keeping the ID as the googlable reference.
On 16 sept. 2011, at 21:05, James Perkins wrote:
I'd like to open a discussion on which messages should get
logging id's
and which level some messages should be logged at.
ID's:
I previously stated in another email that all logging levels of INFO or
higher should get a logging id, but should they? Do we need an id for
"Server is started"?
Logging Levels:
We need to come up with some standard levels for logged messages. For
example "Starting subsystem xxx" seems to be a DEBUG level on some
subsystems, an INFO level on some and others don't even log the message
at all.
Any other additional questions and/or thoughts?
--
James R. Perkins
JBoss by Red Hat
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev