Loggingpublic interface Logging implements LogFileAccess, LogRecordEmitter, LogQuery, LogAnalyzer, com.sun.appserv.management.base.AMXSupports accessing logging information in multiple ways. The following are supported:
- Emission of pseudo real-time JMX Notifications when a
log record is created--see {@link LogRecordEmitter}
- Access to existing log file contents--see {@link LogFileAccess}
- Querying for log entries--see {@link LogQuery}
A Logging always has j2eeType={@link XTypes#LOGGING} and
the same name as the server it represents. |
Fields Summary |
---|
public static final String | J2EE_TYPE |
Methods Summary |
---|
public java.lang.String | getModuleLogLevel(java.lang.String moduleName)Gets the log level of the Logger for the specified module, which may or may not
be the same as that found in the configuration.
This capability is subject to removal, due to the confusion
caused by configuration settings not matching.
| public void | setModuleLogLevel(java.lang.String module, java.lang.String level)Sets the log level of the Logger for the specified module. This operation
will not effect a change to the corresponding loggin configuration for that module.
This capability is subject to removal, due to the confusion
caused by configuration settings not matching.
| public void | testEmitLogMessage(java.lang.String level, java.lang.String message)This method may be used to verify that your Logging listener is working
correctly.
|
|