# Unicorn log files using up all the space on my box

**URL:** <https://meta.discourse.org/t/unicorn-log-files-using-up-all-the-space-on-my-box/34937>\
**Category:** Product Support\
**Created:** [Octobre 26, 2015, 6:44 UTC](https://meta.discourse.org/t/unicorn-log-files-using-up-all-the-space-on-my-box/34937 "2015-10-26T18:44:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![bioball](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bioball/32/116970_2.png) [@bioball](https://meta.discourse.org/u/bioball)\
**Post date:** [Octobre 26, 2015, 6:45 UTC](https://meta.discourse.org/t/unicorn-log-files-using-up-all-the-space-on-my-box/34937/1 "2015-10-26T18:45:00Z")

</div>

Hey all,

I can’t find a thread about this. I recently installed a fresh Discourse on a box last week, and today I noticed that all available disk space was used up. Looking further, the largest file on my box was a 1.3 gigabyte log file.

```bash
ubuntu@<hostname>:/var/discourse/shared/web-only/log/rails$ ls -lrt
total 1314412
-rw-r--r-- 1 ubuntu www-data 0 Oct 20 21:41 production_errors.log
-rw-r--r-- 1 ubuntu www-data 73182 Oct 21 22:29 production.log-20151022
-rw-r--r-- 1 ubuntu www-data 1494 Oct 22 03:10 unicorn.stdout.log-20151022
-rw-r--r-- 1 ubuntu www-data 0 Oct 22 07:35 production.log
-rw-r--r-- 1 ubuntu www-data 0 Oct 22 07:35 unicorn.stdout.log
-rw-r--r-- 1 ubuntu www-data 538 Oct 22 07:35 unicorn.stderr.log-20151022.gz
-rw-r--r-- 1 ubuntu www-data 1345859584 Oct 23 07:37 unicorn.stderr.log-20151023
-rw-r--r-- 1 ubuntu www-data 0 Oct 26 18:24 unicorn.stderr.log

```

I didn’t have enough available disk space to open and read what the logs were. Am currently on version v1.5.0.beta3 +19.

Am I missing some config that rotates these logs? Or is this is a bug?

---

_[View the full topic](https://meta.discourse.org/t/unicorn-log-files-using-up-all-the-space-on-my-box/34937)._
