Appendix A. Event log codes

A.1 Format of the event log codes

Event log codes issued by Virgo have the general syntax <XXnnnnL> where:

XX is a two-letter code (upper-case) identifying the area of the Virgo code which issued the log message;
nnnn is a four-digit message number; and
L is a single-letter (upper-case) code identifying the level of the message.

The two-letter codes are (this list is not complete):

AGorg.eclipse.virgo.kernel.agent.dm
DEorg.eclipse.virgo.kernel.deployer.core
HDorg.eclipse.virgo.kernel.deployer.hot
HRorg.eclipse.virgo.apps.repository.core
KEorg.eclipse.virgo.kernel.core
KSorg.eclipse.virgo.kernel.services
OForg.eclipse.virgo.kernel.osgi
RPorg.eclipse.virgo.repository
TCorg.eclipse.virgo.web.tomcat
URorg.eclipse.virgo.kernel.userregion
WEorg.eclipse.virgo.web.core

The four-digit numbers identify the message text (with placeholders for inserted values). These are not listed here, but can be discovered by examining the files called EventLogMessages.properties, found in the relevant packages.

The single-digit level code is one of:

EError level: enabled if level is ERROR.
WWarning level: enabled if level is WARNING or above.
IInfo level: enabled if level is INFO or above.
DDebug level: enabled if level is DEBUG or above.
TTrace level: always enabled.

There are never two messages with the same prefix and number, but with different levels.