lib/govdelivery/tms/client.rb in govdelivery-tms-0.8.9 vs lib/govdelivery/tms/client.rb in govdelivery-tms-0.8.10

- old
+ new

@@ -88,10 +88,10 @@ end private def setup_logging(debug) - logger = Logger.new(STDOUT) - logger.level = debug ? Logger::DEBUG : Logger::INFO - logger + Logger.new(STDOUT).tap do |logger| + logger.level = debug ? Logger::DEBUG : Logger::INFO + end end end