Skip to content

Commit 4e89ec5

Browse files
committed
Disable log tag for production
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)
1 parent 5fe24b8 commit 4e89ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/environments/production.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# config.log_tags = [:request_id]
5555

5656
# Prepend all log lines with the following tags.
57-
config.log_tags = [:request_id]
57+
# config.log_tags = [:request_id]
5858

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

0 commit comments

Comments
 (0)