How to set the log file size in Remedy. |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Legacy ID:KA323442 The Remedy log file size and its their collecting behavior is controlled by these three parameters:
Max-Log-File-Size (size is configured in bytes). Max-Log-History (number of backup log files). Log-File-Append (to create backup files when reaching the configured max. size or to append to the same file. Values are T or F). These parameters are set in the configuration file ar.cfg/ar.conf. Also are listed in the Centralized Configuration form however the place where are being configured is in: AR System Administration > AR System Administration Console > System General Server Information > Log Files tab. Either when being requested by Support or enabling the logs by yourself to troubleshoot or track certain activity from the application we have to take into account that logs can grow very fast and very big in a matter of minutes. To help to control this we have various options. - We can define the logs to be created in one single log file. - To reach to max. size we define. - To be appended to the same file when the configured max. size is reached or to create backup file. - The amount of backup files to be created before they are being overwritten again. In AR System 9.x versions, by default we have the following set: This obeys to our recommendations for best performance checklist which can be checked in the following article: REMEDY 9.x Release - CONFIGURATION CHECKLIST from the BMC R&D PERFORMANCE TEAM Where we have set: Max-Log-File-Size: 134217728 (around 134MB aprox.) Max-Log-History: 8 (number of backup logs files) You can define a specific way how logs will be captured specially if a combined log is requested by Support, check this article: Remedy - Server - How to enable a combined log in AR Server when being requested by BMC Support? Note take into account the following: As mentioned above, logs can grow very fast and very large. Make sure the settings set are appropriate to avoid running out of space in the Hard Drive. When setting a specific size, for example, 100MB, this will apply for each logging type, not for each log file, so if we set a combined log, this will sum up since the type of logging are set to 100MB and the resulting log file will be greater than 100MB as the example. |