@ -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
@ -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