# How can I purge de table \[Sawmill\_Wowza\_logs\]?

**URL:** <https://community.wowza.com/t/how-can-i-purge-de-table-sawmill-wowza-logs/53322>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [May 10, 2019, 3:58pm UTC](https://community.wowza.com/t/how-can-i-purge-de-table-sawmill-wowza-logs/53322 "2019-05-10T15:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat\_Mil](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@Pat\_Mil](https://community.wowza.com/u/Pat_Mil)\
**Post date:** [May 10, 2019, 3:58pm UTC](https://community.wowza.com/t/how-can-i-purge-de-table-sawmill-wowza-logs/53322/1 "2019-05-10T15:58:27Z")

</div>

In the serveur Database, I want to purge de [[Sawmill\_Wowza\_logs] table.

How can I do ?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [May 10, 2019, 4:47pm UTC](https://community.wowza.com/t/how-can-i-purge-de-table-sawmill-wowza-logs/53322/2 "2019-05-10T16:47:43Z")

</div>

The log4j appender being used by Wowza is not able to automatically delete older log files @Pat Mil, but it creates a log file set for each day. You can create a script that can be scheduled to run once per day and have that script delete log files that are older than x days.

The following article explain how to adjust log rolling by time or by size:  
[https://www.wowza.com/docs/how-to-configure-log-rolling-by-time-and-size](https://www.wowza.com/docs/how-to-configure-log-rolling-by-time-and-size)
