Skip to content

Commit

Permalink
Disable log tag for production
Browse files Browse the repository at this point in the history
The prefix breaks the output from Lograge and we are specifying the request id already. [1]
Also moving the stdout as default to application.rb so that it applies to all environments, without needing the env var as we are removing that.

[1]: #369 (comment)
  • Loading branch information
chao-xian committed Dec 19, 2023
1 parent a461e99 commit 7d80966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# config.log_tags = [:request_id]

# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
# config.log_tags = [:request_id]

# Info include generic and useful information about system operation, but avoids logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII). If you
Expand Down

0 comments on commit 7d80966

Please sign in to comment.