Agent Client Collector log rotation parameters

reference australia Updated Sep 10, 2026 1 min read acc-log-rotation-reference.md
Raw file servicenow.com

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: 72h

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.

**Parent Topic:**[Agent Client Collector Framework reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/agent-client-collector-reference.md)
Search documentation
Search document titles and file paths on the australia branch