Prev |  | Next

## Appendix A. Event log codes

## 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):

`AG` | `org.eclipse.virgo.kernel.agent.dm`
`DE` | `org.eclipse.virgo.kernel.deployer.core`
`HD` | `org.eclipse.virgo.kernel.deployer.hot`
`HR` | `org.eclipse.virgo.apps.repository.core`
`KE` | `org.eclipse.virgo.kernel.core`
`KS` | `org.eclipse.virgo.kernel.services`
`OF` | `org.eclipse.virgo.kernel.osgi`
`RP` | `org.eclipse.virgo.repository`
`TC` | `org.eclipse.virgo.web.tomcat`
`UR` | `org.eclipse.virgo.kernel.userregion`
`WE` | `org.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:

`E` | Error level: enabled if level is `ERROR`.
`W` | Warning level: enabled if level is `WARNING` or above.
`I` | Info level: enabled if level is `INFO` or above.
`D` | Debug level: enabled if level is `DEBUG` or above.
`T` | Trace level: always enabled.

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

Prev |  | Next
| Home |