To turn debugging on or off, you set the level of debugging or set it to off. The following steps describe what to do.
Log in as root to the Gateway machine and edit the following files:
gateway-install-root/SUNWam/config/AMConfig-instance-name.properties
platform.conf-default or platform.conf-gateway-instance-name-provided-during-install file
Set the debug level to FINEST.
com.iplanet.services.debug.level=FINEST |
The debug levels are:
FINEST - Only serious errors are logged in the debug file. Rewriter usually stops functioning when such errors occur.
WARNING - All debug messages are logged.
OFF - No debug messages are logged.
Set the log level in the platform.conf-default or platform.conf-gateway-instance-name-provided-during-install.
The log levels are:
WARNING
INFO
SEVERE
FINE
FINEST
Restart the Gateway from a terminal window:
./psadmin start-sra-instance -u admin-user -p passwordfile -N default -t gateway