How to enable AR Server logs in the ar.cfg / ar.conf file. This is useful when you cannot access the Server Information form Log Files tab, due to start up issues. Logging can be configured directly in ar.cfg / ar.conf instead. How to disable AR Server logs in the ar.cfg / ar.conf file. This is useful when logging is already enabled, but you cannot access the Server Information form Log Files tab to disable it. |
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. If the AR System Administration console is not working to enable the logs, it can be done directly in the ar.cfg/ar.conf file. Note: This method will require the AR System to be restarted. Enabling logging 1- Backup the existing ar.cfg/ar.conf file. 2- Check the following parameter in the file: Debug-mode 3- The values set in the Debug-mode parameter will determine which logs are being being enabled. Check in the documentation the different values for each logging type v.91.x: ar.cfg or ar.conf options C-D v.18.05.x: ar.cfg or ar.conf options C-D v.18.08.x: ar.cfg or ar.conf options C-D For example, to enable API, SQL and Filter, the sum of all the values for these logging types is 19 so the parameter will look like: Debug-mode: 19 4- To set a combined log or have the logs with a specific name, make sure the Log file path is set too, for example: Filter-Log-File: C:\Program Files\BMC Software\ARSystem\ARServer\Db\ARUSERtest.log SQL-Log-File: C:\Program Files\BMC Software\ARSystem\ARServer\Db\index01.log API-Log-File: C:\Program Files\BMC Software\ARSystem\ARServer\Db\index01.log 5- Save the file. 6- Restart AR System and the log(s) will be created. Disabling logging 1- Backup the existing ar.cfg/ar.conf file. 2- Check the following parameter in the file: Debug-mode 3- Set the Debug-mode parameter to 0, for example: Debug-mode: 0 4- Save the file. 5- Restart AR System and logging will be stopped Related information Remedy - Server - How to enable a combined log in AR Server when being requested by BMC Support? |