--- title: Agent Client Collector log rotation parameters description: 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\). locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/agent-client-collector/acc-log-rotation-reference.html release: australia product: Agent Client Collector classification: agent-client-collector topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [ACC-F reference, Agent Client Collector reference, Agent Client Collector, IT Operations Management] --- # 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: **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. |