Skip to content

Allow logging level to be set by env variable#3006

Merged
raycarrick-ed merged 3 commits intomasterfrom
log-levels
Aug 17, 2021
Merged

Allow logging level to be set by env variable#3006
raycarrick-ed merged 3 commits intomasterfrom
log-levels

Conversation

@briri
Copy link
Contributor

@briri briri commented Aug 16, 2021

Fixes #3004

Changes proposed in this PR:

  • Allow the logging level to be defined by the RAILS_LOG_LEVEL env variable
  • Set defaults to: :debug in config/environments/development.rb and :info in config/environments/production.rb

@raycarrick-ed raycarrick-ed merged commit 63af76c into master Aug 17, 2021
@briri briri deleted the log-levels branch September 8, 2021 21:31
portagenetwork pushed a commit to portagenetwork/roadmap that referenced this pull request Feb 24, 2022
Allow logging level to be set by env variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

log level too high in production environment

2 participants