Tivoli Access Manager loggers
The Java Authorization Contract for Containers (JACC) provider for Tivoli Access Manager uses the JLog logging framework as does the Java runtime environment for Tivoli Access Manager. You can enable tracing and messaging selectively for specific JACC providers for Tivoli Access Manager components. The JACC for Tivoli Access Manager provider messages are logged to the configured trace output location, and messages are written to standard out SystemOut.log file. When trace is enabled, all logging, both trace and messaging, is sent to the trace.log file.
Tracing and message logging for the JACC provider for Tivoli Access Manager are configured in the amwas.node_server.pdjlog.properties properties file, which is located in the profile_root/etc/tam directory. This file contains logging properties from the amwas.pdjlog.template.properties template file for the specific node and server combination at the time of JACC provider for Tivoli Access Manager configuration.
The contents of this file let the user control:
- Whether tracing is enabled or disabled for the JACC provider of Tivoli Access Manager components.
- Whether message logging is enabled or disabled for the JACC provider of Tivoli Access Manager components.
The amwas.node_server.pdjlog.properties file defines several loggers, each of which is associated with one JACC provider of Tivoli Access Manager component. These loggers include:
Logger Name Description AmasRBPFTraceLogger AmasRBPFMessageLogger Logs messages and trace for the role-based policy framework. This underlying framework is used by embedded Tivoli Access Manager to make access decisions. AmasCacheTraceLogger AmasCacheMessageLogger Logs messages and trace for the policy caches that are used by the role-based policy framework. AMWASWebTraceLogger AMWASWebMessageLogger Logs messages and trace for the WebSphere Application Server authorization plug-in. AMWASConfigTraceLogger AMWASConfigMessageLogger Logs messages and trace for the configuration actions of the JACC provider for Tivoli Access Manager . JACCTraceLogger JACCMessageLogger Logs messages and trace for the JACC provider activity of Tivoli Access Manager .
Note: Tracing can have a significant impact on system performance. Enable tracing only when diagnosing the cause of a problem.
The implementation of these loggers routes messages to the WAS logging sub-system. All messages are written to the WAS trace.log file.
For each logger, the amwas.node_server.pdjlog.properties file defines an isLogging attribute which, when set to true, enables logging for the specific component. A value of false disables logging for that component.
The amwas.node_server.pdjlog.properties file defines the parent loggers MessageLogger and TraceLogger that also have an isLogging attribute. If the child loggers do not specify this isLogging attribute, they inherit the value of their respective parent. When the JACC provider for Tivoli Access Manager is enabled, the isLogging attribute is set to true for the MessageLogger and set to false for the TraceLogger logger. Message logging is enabled for all components and tracing is disabled for all components, by default.
To turn on tracing for a JACC provider component, see Logging Tivoli Access Manager security.
Logging Tivoli Access Manager security Enabling an external JACC provider
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.
Tivoli is a trademark of the IBM Corporation in the United States, other countries, or both.