Navigation Menu

Skip to content

Commit

Permalink
Reduce annoying trace logs around watchers
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 15, 2015
1 parent f4779f5 commit 383b894
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/droonga/fluent_message_sender.rb
Expand Up @@ -111,19 +111,19 @@ def connect
on_close.call
end
@loop.attach(@socket)
logger.trace("connect: new socket watcher attached",
:watcher => @socket,
:host => @host,
:port => @port)
# logger.trace("connect: new socket watcher attached",
# :watcher => @socket,
# :host => @host,
# :port => @port)

logger.trace("connect: done")
end

def shutdown_socket
return unless connected?
unless @socket.closed?
logger.trace("shutdown_socket: socket watcher detaching",
:watcher => @socket)
# logger.trace("shutdown_socket: socket watcher detaching",
# :watcher => @socket)
@socket.close
logger.trace("shutdown_socket: socket watcher detached")
end
Expand Down

0 comments on commit 383b894

Please sign in to comment.