# Graphs logs retention period

**URL:** https://forum.cloverdx.com/t/graphs-logs-retention-period/2172
**Category:** CloverDX Platform
**Created:** [October 17, 2024, 1:53pm UTC](https://forum.cloverdx.com/t/graphs-logs-retention-period/2172 "2024-10-17T13:53:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lubos\_Imriska](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@Lubos\_Imriska](https://forum.cloverdx.com/u/Lubos_Imriska)
#### Post date: [October 17, 2024, 1:53pm UTC](https://forum.cloverdx.com/t/graphs-logs-retention-period/2172/1 "2024-10-17T13:53:57Z")

</div>

its possible to change/edit the retention period for the graph logs in [your\_tomcat\_directory]/temp/cloverlogs/graph ?

---

<div class="post-metadata">

### Author: ![Lubos\_Imriska](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@Lubos\_Imriska](https://forum.cloverdx.com/u/Lubos_Imriska)
#### Post date: [October 17, 2024, 2:07pm UTC](https://forum.cloverdx.com/t/graphs-logs-retention-period/2172/2 "2024-10-17T14:07:22Z")

</div>

or I just need to create an Schedule with an Archivator task to delete logs older than x time and checked execution history box?

---

<div class="post-metadata">

### Author: ![Vladimir\_Barton](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.cloverdx.com/vladimir_barton/32/167_2.png) [@Vladimir\_Barton](https://forum.cloverdx.com/u/Vladimir_Barton)
#### Post date: [October 22, 2024, 2:07pm UTC](https://forum.cloverdx.com/t/graphs-logs-retention-period/2172/3 "2024-10-22T14:07:15Z")

</div>

Hello,

You are correct. Setting up a scheduler with the Archivator task type, the desired “Older then X minutes” setting and the “Include executions history” checkbox selected is a way to go here. The “X” represents the retention period in minutes. Worth noting is that the “Include executions history” checkbox would result in both deleting run records from the system DB and deleting graph run logs.

Best regards,

-Vladi
