|
Oracle Communications Services Gatekeeper OAM Java API Reference 5.1 E37524-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static boolean |
aspectTracingEnabledAspect Tracing enabled, disable it for log4j performance. |
static boolean |
tracingEnabledTracing enabled. |
| 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)Adds 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)Convenience method to add a context trace file under root trace directory and associate it with the root logger |
void |
createTraceDir()Internal method to create the trace directory. |
void |
flushBuffers()Flushes log buffers. |
boolean |
getAspectTracingEnabled() |
boolean |
getTracingEnabled() |
void |
initialize()Internal method to create any schema that's required and initialize persisted or default values. |
void |
removeContextTraceFile(String identifier)Removed 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) |
void |
setTracingEnabled(boolean flag) |
| Field Detail |
public static final boolean aspectTracingEnabled
public static final boolean tracingEnabled
| Method Detail |
public void addContextCategory(String identifier,
String category)
throws ManagementException
identifier - Identifier of the context trace file.category - Log category.ManagementException
public void addContextFilter(String identifier,
String type,
String value)
throws ManagementException
identifier - Identifier of the context trace file.type - One of the defined types: SERVICE_PROVIDER, APPLICATION, APPLICATION_INSTANCE, SESSION, TRANSACTIONvalue - Value to filter on for this filter typeManagementException
public void attachAppender(String loggerName,
String appenderName)
loggerName - Logger nameappenderName - Appender name
public void attachAppenderInternal(Logger logger,
String svcName)
logger - LoggersvcName - Service name
public void createContextTraceFile(String identifier,
String category,
String threshold)
throws ManagementException
identifier - Identifier to be used to add filters and will also result in a file named \"identifier.log\".category - Log 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
identifier - Identifier to be used to add filters and will also result in a file named \"identifier.log\".ManagementExceptionpublic void createTraceDir()
public void flushBuffers()
public boolean getAspectTracingEnabled()
public boolean getTracingEnabled()
public void initialize()
throws ManagementException
ManagementException
public void removeContextTraceFile(String identifier)
throws ManagementException
identifier - Identifier of the context trace file.ManagementException
public void resetContextFilters(String identifier)
throws ManagementException
identifier - Identifier of the context trace file.ManagementExceptionpublic void rollOver()
public void setAspectTracingEnabled(boolean flag)
throws ManagementException
flag - Flag to enable or disable aspect tracing.ManagementException
public void setTracingEnabled(boolean flag)
throws ManagementException
flag - Flag to enable or disable tracing.ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 5.1 E37524-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||