|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static boolean |
aspectTracingEnabled Aspect Tracing enabled, disable to improve log4j performance. |
static boolean |
tracingEnabled Specifies whether trace should be enabled or not. |
Method Summary | |
void |
addContextCategory(String identifier, String category) Adds a category to an existing context trace file. |
void |
addContextFilter(String identifier, String type, String value) Adds one of the predefined filter types to the appender with the identified name. |
void |
attachAppender(String loggerName, String appenderName) Allows adding a named appender to named loggers. |
void |
attachAppenderInternal(Logger logger, String svcName) Internal operation that creates a FileAppender that outputs to a file with the same name as the service. |
void |
createContextTraceFile(String identifier, String category, String threshold) Creates a context trace file under root trace directory. |
void |
createRootContextTraceFile(String identifier) Creates a new root context trace file. |
void |
createTraceDir() Internal method used to create the trace directory. |
void |
flushBuffers() Flushes log buffers. |
boolean |
getAspectTracingEnabled() |
boolean |
getTracingEnabled() |
void |
initialize() Internal method to create any schema required and initialize persisted or default values. |
void |
removeContextTraceFile(String identifier) Removes a context trace file. |
void |
resetContextFilters(String identifier) Removes all filters associated with a context trace file. |
void |
rollOver() Rotates log files. |
void |
setAspectTracingEnabled(boolean flag) Scope: Cluster |
void |
setTracingEnabled(boolean flag) Scope: Cluster |
Field Detail |
public static final boolean aspectTracingEnabled
Scope: Cluster
public static final boolean tracingEnabled
Scope: Cluster
Method Detail |
public void addContextCategory(String identifier, String category) throws ManagementException
Scope: Cluster
identifier
- Identifier of the context trace file.category
- The Log4J category. The category is the package name, including subpackages, to trace on. For example, to trace on the SMPP plug-in, enter com.bea.wlcp.wlng.plugin.sms.smpp.ManagementException
public void addContextFilter(String identifier, String type, String value) throws ManagementException
Scope: Cluster
identifier
- Identifier of the context trace file.type
- One of the defined types: SERVICE_PROVIDER, APPLICATION, APPLICATION_INSTANCE, SESSION, TRANSACTION.value
- Value to filter on for this filter type.ManagementException
public void attachAppender(String loggerName, String appenderName)
Scope: Cluster
loggerName
- Logger name.appenderName
- Name of Services Gatekeeper internal service to attach the appender to.public void attachAppenderInternal(Logger logger, String svcName)
Scope: Cluster
logger
- Logger.svcName
- Service name.public void createContextTraceFile(String identifier, String category, String threshold) throws ManagementException
Scope: Cluster
identifier
- Identifier to be used to add filters and will also result in a file named \"identifier.log\". Must be unique to the managed server.category
- Log4J category.threshold
- Log level threshold. Valid values are OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE and ALL.ManagementException
public void createRootContextTraceFile(String identifier) throws ManagementException
Scope: Cluster
identifier
- Identifier to be used to add filters and will also result in a file named \"identifier.log\". Must be unique per managed server.ManagementException
public void createTraceDir()
Scope: Cluster
public void flushBuffers()
Scope: Cluster
public boolean getAspectTracingEnabled()
public boolean getTracingEnabled()
public void initialize() throws ManagementException
Scope: Cluster
ManagementException
public void removeContextTraceFile(String identifier) throws ManagementException
Scope: Cluster
identifier
- Identifier of the context trace file.ManagementException
public void resetContextFilters(String identifier) throws ManagementException
Scope: Cluster
identifier
- Identifier of the context trace file.ManagementException
public void rollOver()
Scope: Cluster
public void setAspectTracingEnabled(boolean flag) throws ManagementException
Scope: Cluster
flag
- Flag to enable or disable aspect tracing.ManagementException
public void setTracingEnabled(boolean flag) throws ManagementException
Scope: Cluster
flag
- Flag to enable or disable tracing.ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |