Show TOC Start of Content Area

Background documentation Logging and Tracing Locate the document in its SAP Library structure

Logging and Trace Files

The following files are available for logging important security events and helping administrators with troubleshooting:

·        Security log

Location in Log Viewer: ./log/system/security.<n>.log

Location in file system: <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\server<n>\log\system\security.<n>.log

      Security audit log

The security audit log is part of the security log. The category System/Security/Audit in the log entries of the security log.

For more information, see Structure linkSecurity Audit Log of the AS Java.

      Trace files

Location in Log Viewer: ./log/defaultTrace.<n>.trc

Location in file system: <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\server<n>\log\defaultTrace.<n>.trc

This file contains all the trace information for the whole server and includes trace information for user management engine (UME) libraries and the UME provider (com.sap.security.core.ume.service). The information in this file is on a fine-granular level and includes exceptions, warnings, and debugging information. It is mainly required by the SAP support team.

      Directory server logs

When you use an LDAP directory server as a data source for the UME, you can configure log files to monitor and troubleshoot the connections.

For more information, see the following:

¡        Directory Server Access Log

¡        Directory Server Connection Pool Log

Viewing Logging and Trace Files in the Log Viewer

...

       1.      In the Visual Administrator, on the Cluster tab, choose <system_id> ® Server ® Services ® LogViewer.

       2.      Make sure the Runtime tab is displayed.

       3.      In the navigation tree, choose Cluster ® Server ® <ASJava_installation_directory> and navigate to the required file.

Configuring the Log Viewer

You can change the severity level of logging and tracing using the log configuration services in the visual administrator.

...

       1.      In the visual administrator, on the Cluster tab, choose <system_id> ® Server ® Services ® Log Configurator.     

       2.      Choose the configuration you want to change.

¡        For security logging, choose Categories ® Root Category ® System ® Security ® Audit.

¡        For tracing, switch to advanced mode and choose Locations ® Root location ® com ® sap ® security.

       3.      Change the severity level as required.

                            a.      Select the required package and choose Edit.

                            b.      Under Severity change the severity settings.

The new severity level is activated immediately. You do not need to restart the server.

End of Content Area