lib/percheron/logger.rb in percheron-0.7.6 vs lib/percheron/logger.rb in percheron-0.7.7
- old
+ new
@@ -4,18 +4,10 @@
logger_level = Logger::INFO
logger_level = Logger::WARN if ENV['QUIET'] == 'true'
if ENV['DEBUG'] == 'true' || ENV['DOCKER_DEBUG'] == 'true'
- begin
- require 'pry-byebug'
- require 'awesome_print'
- rescue LoadError
- $logger.warn 'Debugging gems are not installed'
- end
-
logger_level = Logger::DEBUG
-
Docker.logger = $logger if ENV['DOCKER_DEBUG'] == 'true'
end
$logger.level = logger_level