Ansicht
Dokumentation

SIMG_SAPB_SLDATWECHS - Control log file change

SIMG_SAPB_SLDATWECHS - Control log file change

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Local logs are held in a single circular file. When a file becomes full, the system starts writing messages again from the file's beginning, overwriting old messages.

A central log is written in two files:

  • the file that is currently active and
  • an old file.

When the current file reaches the maximum length specified in the system profile, the system performs a log switch, overwriting the old log file with the current one and starting a new current log file.

To control central log switching, set the parameter rslg/max_diskspace/central to the maximum combined length of the current and old central logs.

Set the parameter in the system in which the central log resides. The system switches log files when the size of the currently active log file reaches approximately half of size that you specified for the length parameter.

Since the switching of logs is controlled by a length parameter, you can roughly control the time period to be covered by a system log.

Setting a high file length value will cause the two log files to record events over a lengthy period of time under normal conditions. A high value can also help prevent lost messages in the central log in the event that sudden heavy message activity causes rapid switching of the central log.

In a log switch, the system renames the current log to the old file, overwriting the old file.

No message is issued before an old log is erased.

If you wish to archive old messages, you will nedd to provide a facility for this.






rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1751 Date: 20240523 Time: 164254     sap01-206 ( 36 ms )