Agent Client Collector log rotation parameters
If Agent Client Collector logs get too large, they can drain system resources. To ensure system efficiency, configure parameters in the acc.yml file by which to rotate logs out of the system's storage (Windows default location = C:\ProgramData\ServiceNow\agent-client-collector\config\acc.yml. Linux default location = /etc/servicenow/agent-client-collector/acc.yml).
| Parameter | Definition |
|---|---|
| log-file-and-stdout | Write logs to the stdout file. Default: false |
| log-retention-duration | Maximum age, in days, of the log file before it is rotated out of the system's storage. Default: 3 |
| log-retention-files | Maximum number of log files that can be stored before being rotated out of the system. Default: 3 |
| log-max-size | Maximum size, in MB, of the log file before it is rotated out of the system's storage. Default: 10 |
| log-level | The log level to be measured by the logs. Available options are: Panic, Fatal, Error, Warn, Info, Debug. Default: Info The specified log level represents the lowest level of events displayed in the log. For example, a user who specifies Error sees all Error events, as well as Fatal and Panic events. |