Improve logging (#274)

* Add some custom log messages
* Add original URL and remote IP to each log entry
This commit is contained in:
Riccardo Graziosi
2024-02-04 16:05:41 +01:00
committed by GitHub
parent 9c5553cc32
commit 1976e5ab3f
5 changed files with 10 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ Rails.application.configure do
config.log_level = :debug
# Prepend all log lines with the following tags.
config.log_tags = [ :request_id ]
config.log_tags = [ :request_id, :original_url, :remote_ip ]
# Use a different cache store in production.
# config.cache_store = :mem_cache_store