Skip to content

Commit

Permalink
Rail log through env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhoubk committed Mar 12, 2024
1 parent a1584c6 commit 24e64b8
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 610 deletions.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

# Include generic and useful information about system operation, but avoid logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII).
config.log_level = :info
config.log_level = ENV.fetch('LOG_LEVEL') { 'info' }.downcase.to_sym

# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
Expand Down
21 changes: 0 additions & 21 deletions config/solr/protwords.txt

This file was deleted.

198 changes: 0 additions & 198 deletions config/solr/schema.xml

This file was deleted.

Loading

0 comments on commit 24e64b8

Please sign in to comment.