fix bug that allowed forwarded logs to be output from the logger built via env vars
Tyler Riddle [Tue, 11 Dec 2012 18:24:34 +0000 (10:24 -0800)]
lib/Object/Remote/Logging.pm

index 1095158..7eee65f 100644 (file)
@@ -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
   });
 }