diff --git a/config/application.rb b/config/application.rb index d08f5d0..fd6797c 100644 --- a/config/application.rb +++ b/config/application.rb @@ -11,6 +11,7 @@ class Application < Rails::Application config.load_defaults 7.0 # Efficient logging with Semantic Logger + require Rails.root.join("lib", "formatters", "basic_formatter") config.rails_semantic_logger.add_file_appender = false config.rails_semantic_logger.semantic = false config.rails_semantic_logger.started = true diff --git a/config/environments/development.rb b/config/environments/development.rb index a74006d..131da86 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -69,6 +69,5 @@ Rails.application.configure do # config.action_cable.disable_request_forgery_protection = true # Semantic Logger in console log only! - require_relative "../../lib/formatters/basic_formatter" config.semantic_logger.add_appender(io: $stdout, formatter: BasicFormatter.new) end