lib/hanami/config/logger.rb in hanami-2.0.2 vs lib/hanami/config/logger.rb in hanami-2.0.3

- old
+ new

@@ -124,10 +124,10 @@ case env when :development, :test config.level = :debug config.stream = File.join("log", "#{env}.log") if env == :test config.logger_constructor = method(:development_logger) - when :production + else config.level = :info config.formatter = :json config.logger_constructor = method(:production_logger) end end