silence asset logs unless in debug log level

pull/8164/head
Markus Kahl 5 years ago
parent 1770bbb8ed
commit 6416662302
  1. 2
      config/environments/development.rb
  2. 2
      config/environments/production.rb

@ -73,7 +73,7 @@ OpenProject::Application.configure do
config.assets.digest = false
# Suppress asset output
config.assets.quiet = true
config.assets.quiet = true unless config.log_level == :debug
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true

@ -93,6 +93,8 @@ OpenProject::Application.configure do
# Set to :debug to see everything in the log.
config.log_level = OpenProject::Configuration['log_level'].to_sym
config.assets.quiet = true unless config.log_level == :debug
# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]

Loading…
Cancel
Save