# No rotation on log file

**URL:** <https://syncloud.discourse.group/t/no-rotation-on-log-file/96>\
**Category:** Access Issues\
**Created:** [23 September 2021 08:48 UTC](https://syncloud.discourse.group/t/no-rotation-on-log-file/96 "2021-09-23T08:48:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pirboazo](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pirboazo](https://syncloud.discourse.group/u/pirboazo)\
**Post date:** [23 September 2021 08:48 UTC](https://syncloud.discourse.group/t/no-rotation-on-log-file/96/1 "2021-09-23T08:48:54Z")

</div>

Hi ,

As i look at problem with my renew certificate, i saw than on this file

- nginx\_public\_access.log : size **1329 MB**
- nginx\_public\_error.log : size **326 MB**
- uwsgi\_public.log : size **3MB**

No rotation is apply.

How can reduce the size ?

Pierre

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [23 September 2021 20:44 UTC](https://syncloud.discourse.group/t/no-rotation-on-log-file/96/2 "2021-09-23T20:44:35Z")

</div>

right, we are migrating these files to syslog for that reason, testing right now, if all goes well it well be release as part of the upcoming release.  
for now you can:

```auto
snap stop platform
rm -rf /var/snap/platform/common/log/*.log
snap start platform

```

---

<div class="post-metadata">

**Author:** ![pirboazo](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pirboazo](https://syncloud.discourse.group/u/pirboazo)\
**Post date:** [24 September 2021 07:13 UTC](https://syncloud.discourse.group/t/no-rotation-on-log-file/96/3 "2021-09-24T07:13:19Z")

</div>

Hello Boris,

Done ,  
Thanks  
Pierre

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [25 September 2021 14:32 UTC](https://syncloud.discourse.group/t/no-rotation-on-log-file/96/4 "2021-09-25T14:32:26Z")

</div>

We have just released a system update which includes the these log files migration to syslog. After the upgrade you can simply remove them.
