# Dynatrace OneAgent Excessive Logging

**URL:** <https://community.dynatrace.com/t/dynatrace-oneagent-excessive-logging/33991>\
**Category:** Open Q&A\
**Tags:** dynatrace-saas, oneagent\
**Created:** [February 2, 2022, 6:31pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-excessive-logging/33991 "2022-02-02T18:31:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian\_perrault](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@brian\_perrault](https://community.dynatrace.com/u/brian_perrault)\
**Post date:** [February 2, 2022, 6:31pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-excessive-logging/33991/1 "2022-02-02T18:31:18Z")

</div>

Some of our servers that run Batch jobs and have the Dynatrace OneAgent on them are generating millions of Dynatrace Agent Logs due to the nature of cyclic batch work (process running, stopping, then running again).&nbsp;&nbsp;Are there any debug flags or configuration changes that can be made to change the logging and/or log purging strategy for a Dynatrace OneAgent?

---

<div class="post-metadata">

**Author:** ![mgome](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mgome](https://community.dynatrace.com/u/mgome)\
**Post date:** [February 2, 2022, 7:37pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-excessive-logging/33991/2 "2022-02-02T19:37:07Z")

</div>

According to the documentation:

## OneAgent aging mechanism rules

The OneAgent aging mechanism ensures that the disk space used by OneAgent is constantly within predefined limits. To do that, a number of rules are applied to OneAgent directories. If necessary, you can contact Dynatrace Support to modify some of the aging rules.

> **[OneAgent file aging mechanism](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-aging-mechanism)**
>
> Learn how OneAgent deletes old files to minimize disk space usage.

---

<div class="post-metadata">

**Author:** ![brian\_perrault](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@brian\_perrault](https://community.dynatrace.com/u/brian_perrault)\
**Post date:** [February 2, 2022, 7:41pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-excessive-logging/33991/3 "2022-02-02T19:41:05Z")

</div>

I worked with Dynatrace Support and they indicated that no log aging rules could be changed.&nbsp; I was directed to create a question here so that an RFE for modifying log aging rules could be created.
