The Application Server uses the Java 2 platform Logging API specified in JSR 047. Application Server logging messages are recorded in the server log, normally found at install_dir/domains/domain1/logs/server.log
.
In the install_dir/domains/domain1/logs
directory are two other kinds of logs in addition to the server log. In the access
subdirectory are the HTTP Service access logs, and in the tx
subdirectory are the Transaction Service logs. For information about these logs, see "Configuring the HTTP Service Access Log" and "Configuring Transactions".
The components of the Application Server generate logging output. Application components can also generate logging output.
Log records follow a uniform format:
[#|yyyy-mm-ddThh:mm:ss.SSS-Z|Log Level|ProductName_Version|LoggerName|Key
Value Pairs|Message|#]
For example:
[#|2004-10-21T13:25:53.852-0400|INFO|sun-appserver-pe8.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.|
) separates the record fields.2004-10-21T13:25:53.852-0400
specifies the date and time.INFO
. This level may have any of the following values: SEVERE
, WARNING
, INFO
, CONFIG
, FINE
, FINER
, and FINEST
.sun-appserver-
p
e8.1
.javax.enterprise.system.core
._ThreadID=14;
.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.
See Also: