|
Oracle Communications Services Gatekeeper OAM Java API Reference 7.0.0.1 E96580-01 |
||||||||||
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 | |
abstract void |
addContextCategory(java.lang.String identifier,
java.lang.String category)
Adds a category to an existing context trace file. |
abstract void |
addContextFilter(java.lang.String identifier,
java.lang.String type,
java.lang.String value)
Adds one of the predefined filter types to the appender with the identified name. |
abstract void |
attachAppender(java.lang.String loggerName,
java.lang.String appenderName)
Allows adding a named appender to named loggers. |
abstract void |
attachAppenderInternal(org.apache.logging.log4j.Logger logger,
java.lang.String svcName)
Internal operation that creates a FileAppender that outputs to a file with the same name as the service. |
abstract void |
attachRemoteAppender(java.lang.String loggerName,
java.lang.String host,
java.lang.Integer port)
Attach remote appender. |
abstract void |
createContextTraceFile(java.lang.String identifier,
java.lang.String category,
java.lang.String threshold)
Creates a context trace file under root trace directory. |
abstract void |
createRootContextTraceFile(java.lang.String identifier)
Creates a new root context trace file. |
abstract void |
createTraceDir()
Internal method used to create the trace directory. |
abstract void |
flushBuffers()
Flushes log buffers. |
abstract boolean |
getAspectTracingEnabled()
|
abstract boolean |
getTracingEnabled()
|
abstract void |
initialize()
Internal method to create any schema required and initialize persisted or default values. |
abstract void |
removeAppender(java.lang.String loggerName)
Remove and stop appender. |
abstract void |
removeContextTraceFile(java.lang.String identifier)
Removes a context trace file. |
abstract void |
resetContextFilters(java.lang.String identifier)
Removes all filters associated with a context trace file. |
abstract void |
rollOver()
Rotates log files. |
abstract void |
setAspectTracingEnabled(boolean flag)
Scope: Cluster |
abstract 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(java.lang.String identifier, java.lang.String category) throws com.bea.wlcp.wlng.log.management.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.
com.bea.wlcp.wlng.log.management.ManagementException
public void addContextFilter(java.lang.String identifier, java.lang.String type, java.lang.String value) throws com.bea.wlcp.wlng.log.management.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.
com.bea.wlcp.wlng.log.management.ManagementException
public void attachAppender(java.lang.String loggerName, java.lang.String appenderName)
Scope: Cluster
loggerName
- Logger name.appenderName
- Name of Services Gatekeeper internal service to attach the
appender to.public void attachAppenderInternal(org.apache.logging.log4j.Logger logger, java.lang.String svcName)
Scope: Cluster
logger
- Logger.svcName
- Service name.public void attachRemoteAppender(java.lang.String loggerName, java.lang.String host, java.lang.Integer port) throws java.lang.Exception
Scope: Cluster
loggerName
- name of the remote appender. Should be unique.host
- the host name or ip address of the remote listener.port
- the port number.
java.lang.Exception
- when error.public void createContextTraceFile(java.lang.String identifier, java.lang.String category, java.lang.String threshold) throws com.bea.wlcp.wlng.log.management.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.
com.bea.wlcp.wlng.log.management.ManagementException
public void createRootContextTraceFile(java.lang.String identifier) throws com.bea.wlcp.wlng.log.management.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.
com.bea.wlcp.wlng.log.management.ManagementException
public void createTraceDir()
Scope: Cluster
public void flushBuffers()
Scope: Cluster
public boolean getAspectTracingEnabled()
public boolean getTracingEnabled()
public void initialize() throws com.bea.wlcp.wlng.log.management.ManagementException
Scope: Cluster
com.bea.wlcp.wlng.log.management.ManagementException
public void removeAppender(java.lang.String loggerName) throws java.lang.Exception
Scope: Cluster
loggerName
- name of the remote appender to remove.
java.lang.Exception
- when error or logger name not correct.public void removeContextTraceFile(java.lang.String identifier) throws com.bea.wlcp.wlng.log.management.ManagementException
Scope: Cluster
identifier
- Identifier of the context trace file.
com.bea.wlcp.wlng.log.management.ManagementException
public void resetContextFilters(java.lang.String identifier) throws com.bea.wlcp.wlng.log.management.ManagementException
Scope: Cluster
identifier
- Identifier of the context trace file.
com.bea.wlcp.wlng.log.management.ManagementException
public void rollOver()
Scope: Cluster
public void setAspectTracingEnabled(boolean flag) throws com.bea.wlcp.wlng.log.management.ManagementException
Scope: Cluster
flag
- Flag to enable or disable aspect tracing.
com.bea.wlcp.wlng.log.management.ManagementException
public void setTracingEnabled(boolean flag) throws com.bea.wlcp.wlng.log.management.ManagementException
Scope: Cluster
flag
- Flag to enable or disable tracing.
com.bea.wlcp.wlng.log.management.ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 7.0.0.1 E96580-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |