---
title: Local Audit Log Rotation Size
description: The maximum size in bytes of the local audit log files. When Enable Local Audit Log Rotation is true, the agent rotates the log file when it reaches this size.
component: java-agents
version: 2023.11
page_id: java-agents:properties-reference:org.forgerock.agents.local.audit.log.rotation.bytes
canonical_url: https://docs.pingidentity.com/java-agents/2026/properties-reference/org.forgerock.agents.local.audit.log.rotation.bytes.html
llms_txt: https://docs.pingidentity.com/java-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/java-agents/2026/properties-reference/org.forgerock.agents.local.audit.log.rotation.bytes.html
---

# Local Audit Log Rotation Size

The maximum size in bytes of the local audit log files. When [Enable Local Audit Log Rotation](org.forgerock.agents.local.audit.log.rotation.enabled.html) is `true`, the agent rotates the log file when it reaches this size.

|                          |                                                                                                                                                                                                                                           |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.local.audit.log.rotation.bytes`                                                                                                                                                                                     |
| Aliases                  | `com.sun.identity.agents.config.local.log.size`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6`org.forgerock.agents.local.audit.log.rotation.bytes`   Introduced in Java Agent 5.7 |
| Function                 | Audit                                                                                                                                                                                                                                     |
| Type                     | Integer                                                                                                                                                                                                                                   |
| Default                  | `52428800`                                                                                                                                                                                                                                |
| Bootstrap property       | No                                                                                                                                                                                                                                        |
| Required property        | No                                                                                                                                                                                                                                        |
| Restart required         | No                                                                                                                                                                                                                                        |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                                  |
| AM console               | Tab: `Global`Title: `Local Audit Log Rotation Size`                                                                                                                                                                                       |
