# Orthanc log per day or splitted

**URL:** https://discourse.orthanc-server.org/t/orthanc-log-per-day-or-splitted/4743
**Category:** General
**Created:** [May 30, 2024, 9:42am UTC](https://discourse.orthanc-server.org/t/orthanc-log-per-day-or-splitted/4743 "2024-05-30T09:42:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fabrizioferrara](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/f/a183cd/32.png) [@fabrizioferrara](https://discourse.orthanc-server.org/u/fabrizioferrara)
#### Post date: [May 30, 2024, 9:42am UTC](https://discourse.orthanc-server.org/t/orthanc-log-per-day-or-splitted/4743/1 "2024-05-30T09:42:28Z")

</div>

Hi everyone,  
I was wondering if by chance there was a way to tell orthanc to generate a log per day, or to “create” a new log when the previous one reaches a certain weight in terms of MB, since with a regular amount of work, in about a few months you reach gigabytes of logs even if they are not in “verbose” mode, and this causes sudden slowdowns of the system.

As I show from the screenshot, this log remained standing from February to May, and had filled up quite a bit

 ![Screenshot 2024-05-30 103212](https://discourse.orthanc-server.org/uploads/default/original/2X/6/64167e178a3db97d92f805348febd99dc52f65d7.png)

---

<div class="post-metadata">

### Author: ![bcrickboom](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bcrickboom](https://discourse.orthanc-server.org/u/bcrickboom)
#### Post date: [May 30, 2024, 11:20am UTC](https://discourse.orthanc-server.org/t/orthanc-log-per-day-or-splitted/4743/2 "2024-05-30T11:20:57Z")

</div>

Hi Fabrizio,

I would use Logrotate.  
See here: [https://linuxconfig.org/logrotate](https://linuxconfig.org/logrotate)
