lib/bolt/transport/docker/connection.rb in bolt-2.25.0 vs lib/bolt/transport/docker/connection.rb in bolt-2.26.0
- old
+ new
@@ -8,10 +8,10 @@
class Docker < Base
class Connection
def initialize(target)
raise Bolt::ValidationError, "Target #{target.safe_name} does not have a host" unless target.host
@target = target
- @logger = Logging.logger[target.safe_name]
+ @logger = Bolt::Logger.logger(target.safe_name)
@docker_host = @target.options['service-url']
@logger.trace("Initializing docker connection to #{@target.safe_name}")
end
def connect