# Does the Docker installation still rotate logs?

**URL:** <https://meta.discourse.org/t/does-the-docker-installation-still-rotate-logs/62841>\
**Category:** Product Support\
**Created:** [May 17, 2017, 1:10am UTC](https://meta.discourse.org/t/does-the-docker-installation-still-rotate-logs/62841 "2017-05-17T01:10:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![samnazarko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samnazarko/32/109010_2.png) [@samnazarko](https://meta.discourse.org/u/samnazarko)\
**Post date:** [May 17, 2017, 1:10am UTC](https://meta.discourse.org/t/does-the-docker-installation-still-rotate-logs/62841/1 "2017-05-17T01:10:21Z")

</div>

Hi,

We’ve been using Discourse on one box for a while and things have been running smoothly. I regularly rebuild when we change Git plugins and once a month to ensure a good container and fewer upgrade problems.

I was checking logs today and saw:

```plaintext
root@disc:/var/discourse# ls -lh shared/standalone/log/var-log/nginx/
total 98G
-rw-r--r-- 1 www-data www-data 742 Oct 22 2016 access.letsencrypt.log
-rw-r----- 1 www-data www-data 97G May 17 02:03 access.log
-rw-r----- 1 www-data www-data 318M Aug 10 2016 access.log.1
-rw-r----- 1 www-data www-data 61M Aug 1 2016 access.log.10.gz
-rw-r----- 1 www-data www-data 57M Jul 31 2016 access.log.11.gz
-rw-r----- 1 www-data www-data 53M Jul 30 2016 access.log.12.gz
-rw-r----- 1 www-data www-data 52M Jul 29 2016 access.log.13.gz
-rw-r----- 1 www-data www-data 55M Jul 28 2016 access.log.14.gz
-rw-r----- 1 www-data www-data 50M Aug 11 2016 access.log.1.gz
-rw-r----- 1 www-data www-data 55M Aug 9 2016 access.log.2.gz
-rw-r----- 1 www-data www-data 59M Aug 8 2016 access.log.3.gz
-rw-r----- 1 www-data www-data 59M Aug 7 2016 access.log.4.gz
-rw-r----- 1 www-data www-data 54M Aug 6 2016 access.log.5.gz
-rw-r----- 1 www-data www-data 57M Aug 5 2016 access.log.6.gz
-rw-r----- 1 www-data www-data 57M Aug 4 2016 access.log.7.gz
-rw-r----- 1 www-data www-data 58M Aug 3 2016 access.log.8.gz
-rw-r----- 1 www-data www-data 60M Aug 2 2016 access.log.9.gz
-rw-r--r-- 1 www-data www-data 0 Sep 30 2016 error.letsencrypt.log
-rw-r----- 1 www-data www-data 22M May 16 13:00 error.log
-rw-r----- 1 www-data www-data 1.2K Aug 10 2016 error.log.15.gz

```

As this was a box just for Discourse, I didn’t have as close monitoring as I normally would have, but do now.

I’ve deleted those logs now, but can anyone confirm if log rotation is still working for the Docker installation, and explain why it stopped working?

Cheers

Sam

---

_[View the full topic](https://meta.discourse.org/t/does-the-docker-installation-still-rotate-logs/62841)._
