# Empty the logs diagnostic

**URL:** <https://forum.inductiveautomation.com/t/empty-the-logs-diagnostic/20904>\
**Category:** Ignition\
**Created:** [November 16, 2018, 1:35pm UTC](https://forum.inductiveautomation.com/t/empty-the-logs-diagnostic/20904 "2018-11-16T13:35:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ltraverso](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@ltraverso](https://forum.inductiveautomation.com/u/ltraverso)\
**Post date:** [November 16, 2018, 1:35pm UTC](https://forum.inductiveautomation.com/t/empty-the-logs-diagnostic/20904/1 "2018-11-16T13:35:45Z")

</div>

Hello everybody, is there a way to empty the logs diagnostic on gateway ?  
Regards

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 16, 2018, 4:05pm UTC](https://forum.inductiveautomation.com/t/empty-the-logs-diagnostic/20904/2 "2018-11-16T16:05:39Z")

</div>

Sure - delete the `system_logs.idb` folder in the `<install>/logs/` directory - Windows would be in Program files by default, Linux in `/var/log/ignition/`. You will need to restart the service to recreate the file.
