Sun Microsystems 820433510 Server User Manual


 
A window labeled Log Entry Detail appears, with a formatted version of the message.
At the end of the list of entries, click the buttons to view earlier or later entries in the log le.
Click Advanced Search in the Search Criteria area to make additional renements to the log
viewer. Use the Advanced Options elds as follows:
Logger To lter by module, choose one or more namespaces from the drop-down list.
Use shift-click or control-click to choose multiple namespaces.
Selecting a namespace at a higher level selects all the namespaces below it. For example,
selecting javax.enterprise.system also selects the loggers for all the modules under that
namespace: javax.enterprise.system.core, javax.enterprise.system.tools.admin,
and so on.
Custom Logger — To view messages from loggers specic to a particular application, type
the logger names in the text eld, one per line. If the application has several modules, you
can view any or all of them. For example, suppose the application has loggers with the
following names:
com.mycompany.myapp.module1
com.mycompany.myapp.module2
com.mycompany.myapp.module3
To view messages from all modules in the application, type com.mycompany.myapp. To view
messages from module2 only, type com.mycompany.myapp.module2.
When you specify one or more custom loggers, messages from Enterprise Server modules
appear only if you specify them explicitly in the Logger area.
Name-Value Pairs — To view output from a specic thread, type the key name and value
for that thread in the text eld. The key name is _ThreadID. For example:
_ThreadID=13
Suppose that com.mycompany.myapp.module2 runs in several threads. To rene the log
viewer to show only the output from a single thread, specify that module’s logger in the
Custom Logger eld, and then specify the thread ID in this eld.
Display — To view more than 40 messages at a time (the default), choose another of the
available values from the drop-down list (100, 250, or 1000).
To view stack traces, deselect the “Limit excessively long messages” checkbox. By default,
stack traces do not appear in the viewer; to view them, click the (details) link for a
message.
Click Basic Search to hide the Advanced Options area.
ConguringLogging
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008170