The Java Authorization Contract for Containers (JACC) provider for TAM uses the JLog logging framework as does the Java runtime environment for TAM. We can enable tracing and messaging selectively for specific JACC providers for TAM components.
The JACC for TAM 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 TAM are configured in the amwas.node_server.pdjlog.properties properties file, which is located in...$PROFILE_ROOT/etc/tam
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 TAM configuration. The contents of this file let the user control:
- Whether tracing is enabled or disabled for the JACC provider of TAM components.
- Whether message logging is enabled or disabled for the JACC provider of TAM components.
The amwas.node_server.pdjlog.properties file defines several loggers, each of which is associated with one JACC provider of TAM component. These loggers include:
Table 1. TAM loggers
Logger Name Description AmasRBPFTraceLogger AmasRBPFMessageLogger Logs messages and trace for the role-based policy framework. This underlying framework is used by embedded TAM 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 WAS authorization plug-in. AMWASConfigTraceLogger AMWASConfigMessageLogger Logs messages and trace for the configuration actions of the JACC provider for TAM . JACCTraceLogger JACCMessageLogger Logs messages and trace for the JACC provider activity of TAM .
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 TAM 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 TAM security.
Logging TAM security
Enable an external JACC provider