# 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:** 6

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [February 2, 2024, 4:32pm UTC](https://meta.discourse.org/t/prevent-shared-log-rails-production-log/293637/6 "2024-02-02T16:32:36Z")

</div>

In my case I see the log responds to pointless malicious access attempts - perhaps that’s not useful and can be reconfigured not to happen?

```plaintext
ActionController::RoutingError (No route matches [HEAD] "/passwords.txt")
...
ActionController::RoutingError (No route matches [GET] "/.env")

```

---

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