fix: remove assets and health check logs
This commit is contained in:
@@ -50,6 +50,9 @@ Rails.application.configure do
|
|||||||
# Raises helpful error messages.
|
# Raises helpful error messages.
|
||||||
config.assets.raise_runtime_errors = true
|
config.assets.raise_runtime_errors = true
|
||||||
|
|
||||||
|
config.assets.logger = false
|
||||||
|
config.assets.quiet = true
|
||||||
|
|
||||||
config.action_mailer.delivery_method = :smtp
|
config.action_mailer.delivery_method = :smtp
|
||||||
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
|
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ Rails.application.configure do
|
|||||||
# yet still be able to expire them through the digest params.
|
# yet still be able to expire them through the digest params.
|
||||||
config.assets.digest = true
|
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
|
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
||||||
|
|
||||||
# Specifies the header that your server uses for sending files.
|
# Specifies the header that your server uses for sending files.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ Rails.application.configure do
|
|||||||
|
|
||||||
# Generate log in JSON
|
# Generate log in JSON
|
||||||
config.lograge.formatter = Lograge::Formatters::Json.new
|
config.lograge.formatter = Lograge::Formatters::Json.new
|
||||||
|
config.lograge.ignore_actions = ['HealthCheckController#index']
|
||||||
config.lograge.custom_options = lambda do |event|
|
config.lograge.custom_options = lambda do |event|
|
||||||
{
|
{
|
||||||
:ddsource => ["ruby"],
|
:ddsource => ["ruby"],
|
||||||
|
|||||||
Reference in New Issue
Block a user