---
title: Debug File Rotation Size (deprecated)
description: Previously used to say when to rotate the log files based on file size. This should now be specified in the agent-logback.xml file in the agent config directory.
component: java-agents
version: 2023.11
page_id: java-agents:properties-reference:org.forgerock.agents.debug.rotation.size.bytes
canonical_url: https://docs.pingidentity.com/java-agents/2023.11/properties-reference/org.forgerock.agents.debug.rotation.size.bytes.html
---

# Debug File Rotation Size (deprecated)

Previously used to say when to rotate the log files based on file size. This should now be specified in the agent-logback.xml file in the agent config directory.

Default: Empty

|                          |                                                                                                                                                                                                                                    |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.debug.rotation.size.bytes`                                                                                                                                                                                   |
| Aliases                  | `org.forgerock.agents.debug.rotation.size.bytes`   Introduced in Java Agent 5.7`org.forgerock.openam.debug.rotation.maxsize`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | Deprecated                                                                                                                                                                                                                         |
| Type                     | String                                                                                                                                                                                                                             |
| Bootstrap property       | No                                                                                                                                                                                                                                 |
| Required property        | No                                                                                                                                                                                                                                 |
| Restart required         | No                                                                                                                                                                                                                                 |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                           |
| AM console               | Tab: `Global (from AM 7)`Title: `Debug File Rotation Size (deprecated)`                                                                                                                                                            |
