lib/conjur/policy/logger.rb in conjur-asset-policy-0.8.3 vs lib/conjur/policy/logger.rb in conjur-asset-policy-0.11.0

- old
+ new

@@ -4,9 +4,9 @@ # Override the logger with this method. cattr_accessor :logger require 'logger' self.logger = Logger.new(STDERR) - self.logger.level = Logger::INFO + self.logger.level = (ENV['DEBUG'] == "true" ? Logger::DEBUG : Logger::INFO) end end end