# Prevent /shared/log/rails/production.log

**URL:** <https://meta.discourse.org/t/prevent-shared-log-rails-production-log/293637>\
**Category:** Self-hosting\
**Created:** [January 31, 2024, 2:25pm UTC](https://meta.discourse.org/t/prevent-shared-log-rails-production-log/293637 "2024-01-31T14:25:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [February 2, 2024, 4:34pm UTC](https://meta.discourse.org/t/prevent-shared-log-rails-production-log/293637/7 "2024-02-02T16:34:49Z")

</div>

> [@gabor1](#):
>
> It should be possible to disable this log as an easy way to prevent running out of disk space.

That log automatically rotates and compresses. If that single text file is the difference between running out of storage space and not, you may have a larger problem.

---

_[View the full topic](https://meta.discourse.org/t/prevent-shared-log-rails-production-log/293637)._
