diff --git a/config/logging.rb b/config/logging.rb index 2c674562d4c12e8c18ca6c4b2c108639131b9aac..230ea81170ef6f7494ffa5cfe21b83b175a3343b 100644 --- a/config/logging.rb +++ b/config/logging.rb @@ -85,6 +85,7 @@ Logging::Rails.configure do |config| Logging.logger.root.level = config.log_level # log-levels from the diaspora.yml for SQL and federation debug-logging + Logging.logger[ActionView::Base].level = Rails.env.development? ? :debug : :warn Logging.logger[ActiveRecord::Base].level = AppConfig.environment.logging.debug.sql? ? :debug : :info Logging.logger[DiasporaFederation::Salmon::MagicEnvelope].level = AppConfig.environment.logging.debug.federation? ? :debug : :info