Skip to main content

Logging

The SMA OpCon Agent for SAP service writes processing information to the SAPLSAM.log and writes communication information to the SAPLSAMTrace.log file in the default log folder. Additionally, the SMA OpCon Agent for SAP service writes all configuration information to the SAPLSAM.log file when it starts or when it detects a change to the SAPLSAM.ini file.

The SMA OpCon Agent for SAP service writes processing information to the SAPLSAM.log files and the SMA OpCon JORS for SAP service writes processing information to the SAPJORS.log files. Both of these log files can be found in the <Output Directory>\SAP LSAM\Log\ log folder.

note

The Output Directory was configured during the installation. For more information, refer to File Locations in the Concepts online help.

When log files reach a user-configured maximum size, the SMA OpCon Agent for SAP and SMA OpCon JORS for SAP services archive the log files. The <Output Directory>\SAP LSAM \Log\Archives\ folder is the location of all archived log files. A folder exists in the Archives folder for each day the SMA OpCon Agent for SAP and SMA OpCon JORS for SAP services process.

The folder names use the following naming convention: yyyy_mm_dd (Weekday). The logging mechanism generates the weekday name according to the machine's Regional Settings.

info

If the Regional Settings are set to English, an archive folder would have the following name:

2008_01_11 (Friday)

If the Regional Settings are set to French, an archive folder would have the following name:

2008_01_11 (Vendredi)

As each log file fills up, the LSAM and JORS services move the log files into the current archive folder and renames them using the following naming convention: LogName StartTime - StopTime.log. For example, an SAP R/3 LSAM archive file for the time range of 12:58:16 to 13:58:00 would be SAPLSAM 125816 - 135800.log.

By default 10 days of Archived logs are retained. Configure the SAPLSAM.ini file to adjust this setting. For information on the configuration of debug/log settings, refer to Debug Options.

caution

The SAP LSAM and SAP JORS services do not purge any archive folders if any files other than archived files are present.

Additional JORS log files

For each job the SAP LSAM executes, it creates a job log and job spool file in the Job Output folder. The LSAM names the job log files with the following syntax: <SAP JOBID>.log. The LSAM names the job spool files with the following syntax: <SAP JOBID>.spool.

When each job completes, the LSAM immediately archives the files. The <Output Directory>\SAP LSAM\Job Output\Archives\ folder is the location of all archived log files.

note

The Output Directory was configured during the installation. For more information, refer to File Locations in the Concepts online help.

A folder exists in the Archives folder for each day the SAP LSAM and SAP JORS services process. The folder names use the following naming convention: yyyy_mm_dd (Weekday). For example, the folder name for `January 11, 2008 would be 2008_01_11 (Friday).