Show TOC

Procedure documentationEnabling Traces for SNC Client Encryption Locate this document in the navigation structure

 

Use this procedure to trace problems on SAP NetWeaver Application Server (AS) ABAP as well as on the host Windows client.

Procedure

  1. Create the trace file directory in either %HOMEDRIVE%%HOMEPATH%\sec or C:\sec.

  2. Create the file sec_log_file_filename.txt in the trace file directory. This file sets the name format for the trace files.

  3. Enter the name format for the trace files in the sec_log_file_filename.txt file.

    Use the following format:

    <Path_to_Trace_File_Directory>\log-%.PID.%.txt

    Example Example

    C:\sec\log-%.PID.%.txt

    End of the example.

    This creates a log file in the sec directory with the process ID replacing %.PID.% in the name. SAP NetWeaver AS ABAP creates multiple work processes, so including the process ID in the name avoids parallel access to the same file by all processes.

  4. Create the file sec_log_file_level.txt in the trace file directory.

    This file sets the trace level.

  5. To start the trace, enter a trace value as a single digit in the trace level file according to the table below.

    Trace Levels for SNC Client Encryption

    Value

    Description

    0

    No trace

    1

    Errors

    2

    Errors and warnings

    3

    Errors, warnings, logs

    4

    Errors, warnings, logs, and infos

  6. Repeat the actions that led to the problem you are troubleshooting.

  7. Examine the results of the trace file.

  8. To disable the trace, enter 0 in the trace level file.