# Logging sometimes reports wrong database in multisite

**URL:** <https://meta.discourse.org/t/logging-sometimes-reports-wrong-database-in-multisite/69088>\
**Category:** Feature\
**Created:** [30 Agosto 2017, 5:03pm UTC](https://meta.discourse.org/t/logging-sometimes-reports-wrong-database-in-multisite/69088 "2017-08-30T17:03:53Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2 Ottobre 2017, 6:47am UTC](https://meta.discourse.org/t/logging-sometimes-reports-wrong-database-in-multisite/69088/7 "2017-10-02T06:47:21Z")

</div>

This is really unsolvable with the current log format. @tgxworld is going to investigate making [GitHub - roidrage/lograge: An attempt to tame Rails' default policy to log everything. · GitHub](https://github.com/roidrage/lograge) an optional (and hopefully default) log format for rails to avoid this mess and give us properly parsable log files.

---

_[View the full topic](https://meta.discourse.org/t/logging-sometimes-reports-wrong-database-in-multisite/69088)._
