Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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).

ParameterDefinition
log-file-and-stdoutWrite logs to the stdout file.Default: false
log-retention-durationMaximum age, in days, of the log file before it is rotated out of the system's storage.Default: 3
log-retention-filesMaximum number of log files that can be stored before being rotated out of the system.Default: 3
log-max-sizeMaximum 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