beautypg.com

The logger namespace hierarchy, Table 17–1, Enterprise server logger namespaces – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 166

background image

[#|2006-10-21T13:25:53.852-0400|INFO|sun-appserver9.1|javax.enterprise.

system.core|_ThreadID=13;|CORE5004: Resource Deployed:

[cr:jms/DurableConnectionFactory].|#]

In this example,

[#

and #] mark the beginning and end of the record.

The vertical bar (|) separates the record fields.

2006-10-21T13:25:53.852-0400

specifies the date and time.

The Log Level is INFO. This level may have any of the following values: SEVERE, WARNING,
INFO

, CONFIG, FINE, FINER, and FINEST.

The ProductName-Version is sun-glassfish-comms-server1.0.

The LoggerName is a hierarchical logger namespace that identifies the source of the log
module, in this case javax.enterprise.system.core.

The Key Value Pairs are key names and values, typically a thread ID such as _ThreadID=14;.

The Message is the text of the log message. For all Enterprise Server SEVERE and WARNING
messages and many INFO messages, it begins with a message ID that consists of a module
code and a numerical value (in this case, CORE5004).

The log record format might be changed or enhanced in future releases.

The Logger Namespace Hierarchy

The Enterprise Server provides a logger for each of its modules. The following table lists the
names of the modules and the namespace for each logger in alphabetical order, as they appear
on the Log Levels page of the Admin Console (see

“Configuring Log Levels” on page 168

). The

last three modules in the table do not appear on the Log Levels page.

TABLE 17–1

Enterprise Server Logger Namespaces

Module Name

Namespace

Admin

javax.enterprise.system.tools.admin

Classloader

javax.enterprise.system.core.classloading

Configuration

javax.enterprise.system.core.config

Connector

javax.enterprise.resource.resourceadapter

CORBA

javax.enterprise.resource.corba

Deployment

javax.enterprise.system.tools.deployment

EJB Container

javax.enterprise.system.container.ejb

About Logging

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

166