diff --git a/config/environments/development.rb b/config/environments/development.rb index 38034757b6b..e5a65500dee 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -50,6 +50,9 @@ # Raises helpful error messages. config.assets.raise_runtime_errors = true + config.assets.logger = false + config.assets.quiet = true + config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 } diff --git a/config/environments/production.rb b/config/environments/production.rb index 0cc1b38e145..ea73ceceda3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -52,6 +52,9 @@ # yet still be able to expire them through the digest params. config.assets.digest = true + config.assets.logger = false + config.assets.quiet = true + # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb # Specifies the header that your server uses for sending files. diff --git a/config/initializers/lograge.rb b/config/initializers/lograge.rb index 0618fff493a..e7cf345138d 100644 --- a/config/initializers/lograge.rb +++ b/config/initializers/lograge.rb @@ -3,6 +3,7 @@ # Generate log in JSON config.lograge.formatter = Lograge::Formatters::Json.new + config.lograge.ignore_actions = ['HealthCheckController#index'] config.lograge.custom_options = lambda do |event| { :ddsource => ["ruby"],