---
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: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.local.audit.log.rotation.bytes
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/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       | Yes                                                                                                                                                                                                                                       |
| Required property        | No                                                                                                                                                                                                                                        |
| Restart required         | Yes - Restart the container after changing the property                                                                                                                                                                                   |
| Local configuration file | `AgentBootstrap.properties`                                                                                                                                                                                                               |
| AM console               | Tab: `Global`Title: `Local Audit Log Rotation Size`                                                                                                                                                                                       |
