|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.helper.Helper com.sun.appserv.management.helper.LoggingHelper
public final class LoggingHelper
Helper class for simplifying access to logging.
Field Summary |
---|
Fields inherited from class com.sun.appserv.management.helper.Helper |
---|
mBulkAccess, mDomainRoot, mQueryMgr |
Constructor Summary | |
---|---|
LoggingHelper(Logging logging)
Create with default parameters. |
Method Summary | |
---|---|
Logging |
getLogging()
|
LogQueryResult[] |
queryAll()
Get all available log records in all files for all modules of all available log levels. |
LogQueryResult |
queryAllCurrent()
Get all available log records for all modules in the most current log file. |
LogQueryResult |
queryAllInFile(String name)
Get all available log records for all modules in the specified log file. |
LogQueryResult |
queryServerLog(String logLevel)
Get all log records of the specified error level or higher level for all modules in the most current log file. |
LogQueryResult |
queryServerLog(String logLevel,
Set<String> modules)
Get all log records of the specified error level or higher level for a all specified modules in the most current log file. |
LogQueryResult |
queryServerLog(String logLevel,
String moduleID)
Get all log records of the specified error level or higher level for a particular module in the most current log file. |
LogQueryResult |
queryServerLogRecent(long seconds)
Get all available log records for all modules in the most current log file which have occurred within the last number of seconds. |
LogQueryResult |
queryServerLogRecent(long seconds,
Set<String> modules)
Get all available log records for all modules in the most current log file which have occurred within the last number of seconds. |
Methods inherited from class com.sun.appserv.management.helper.Helper |
---|
filterByAttributeValue, getDomainRoot, propsQuery, propsQuery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingHelper(Logging logging)
Method Detail |
---|
public Logging getLogging()
public LogQueryResult queryServerLog(String logLevel, Set<String> modules)
LogQuery
,
LogModuleNames
public LogQueryResult queryServerLog(String logLevel, String moduleID)
LogQuery
public LogQueryResult queryServerLog(String logLevel)
LogQuery
public LogQueryResult queryAllCurrent()
LogQuery
public LogQueryResult queryServerLogRecent(long seconds)
seconds
- LogQuery
public LogQueryResult queryServerLogRecent(long seconds, Set<String> modules)
seconds
- LogQuery
public LogQueryResult queryAllInFile(String name)
LogQuery
public LogQueryResult[] queryAll()
LogQuery
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.