From: Tyler Riddle Date: Tue, 11 Dec 2012 18:24:34 +0000 (-0800) Subject: fix bug that allowed forwarded logs to be output from the logger built via env vars X-Git-Tag: v0.003001_01~29 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a577b9530c7c091e6800bca9dca4fd03c37ce039;p=scpubgit%2FObject-Remote.git fix bug that allowed forwarded logs to be output from the logger built via env vars --- diff --git a/lib/Object/Remote/Logging.pm b/lib/Object/Remote/Logging.pm index 1095158..7eee65f 100644 --- a/lib/Object/Remote/Logging.pm +++ b/lib/Object/Remote/Logging.pm @@ -114,7 +114,7 @@ sub init_logging { return unless $will_log; #skip things from remote hosts because they log to STDERR #when OBJECT_REMOTE_LOG_LEVEL is in effect - return if $_[1]->{remote}->{connection_id}; + return if $_[1]->{remote}->{object_remote}; $logger }); }