diff --git a/CHANGELOG.md b/CHANGELOG.md index b6b3df0a02ba8fc708ae757d74c37235f32a55ed..ab98f0423fcdd9349ec9fcb8bff696a026a6a718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # CHANGELOG ### next version +- refactor: remove unused logger ### v1.0.3 - fix commit f989786 that changed the wrong line (0b7832e) diff --git a/lib/coupdoeil/engine.rb b/lib/coupdoeil/engine.rb index ac4bb900a5c9bf12144c08a10b7fe882ed1776bf..0a714f4a5043ddbf0e2f47a4d0042dc205eecd98 100644 --- a/lib/coupdoeil/engine.rb +++ b/lib/coupdoeil/engine.rb @@ -41,13 +41,6 @@ module Coupdoeil end end - initializer "coupdoeil.logger" do - stdout_logger = ActiveSupport::Logger.new($stdout) - stdout_logger.formatter = ::Logger::Formatter.new - tagged_stdout_logger = ActiveSupport::TaggedLogging.new(stdout_logger) - config.coupdoeil.logger = tagged_stdout_logger.tagged("Coupdoeil") - end - initializer "coupdoeil.helpers", before: :load_config_initializers do ActiveSupport.on_load(:action_controller_base) do helper Coupdoeil::Engine.helpers