Skip to content

Commit

Permalink
Log the name of the connection instead of the object id
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Beale committed Aug 21, 2008
1 parent 2d322b5 commit a7ea86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shard_the_love.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def method_missing(method, *args, &block)
raw_connection
end
if logger && logger.debug?
logger.debug("Calling #{method} on #{@cached_connection}")
logger.debug("Calling #{method} on #{@current_connection_name}")
end
begin
raw_connection.send(method, *args, &block)
Expand Down

0 comments on commit a7ea86d

Please sign in to comment.