---
title: Enable Local Audit Log Rotation
description: When true, rotate local audit log files that have reached the size specified by Local Audit Log Rotation Size.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.local.audit.log.rotation.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.local.audit.log.rotation.enabled.html
---

# Enable Local Audit Log Rotation

When `true`, rotate local audit log files that have reached the size specified by [Local Audit Log Rotation Size](org.forgerock.agents.local.audit.log.rotation.bytes.html).

|                          |                                                                                                                                                                                                                                               |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.local.audit.log.rotation.enabled`                                                                                                                                                                                       |
| Aliases                  | `org.forgerock.agents.local.audit.log.rotation.enabled`   Introduced in Java Agent 5.6`com.sun.identity.agents.config.local.log.rotate`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6 |
| Function                 | Audit                                                                                                                                                                                                                                         |
| Type                     | Boolean: `true` returns true; all other strings return `false`.                                                                                                                                                                               |
| Default                  | `false`                                                                                                                                                                                                                                       |
| 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: `Enable Local Audit Log Rotation`Legacy title: `Rotate Local Audit Log`                                                                                                                                                   |
