forward OBJECT_REMOTE_LOG_FORWARDING env var
Tyler Riddle [Sun, 11 Nov 2012 01:55:51 +0000 (17:55 -0800)]
lib/Object/Remote/FatNode.pm

index 41ad696..819b9a5 100644 (file)
@@ -77,6 +77,11 @@ if (defined($ENV{OBJECT_REMOTE_LOG_SELECTIONS})) {
   my $selections = $ENV{OBJECT_REMOTE_LOG_SELECTIONS};
   $env_pass .= '$ENV{OBJECT_REMOTE_LOG_SELECTIONS} = "' . $selections . "\";\n";
 }
+if (defined($ENV{OBJECT_REMOTE_LOG_FORWARDING})) {
+  my $forwarding = $ENV{OBJECT_REMOTE_LOG_FORWARDING};
+  $env_pass .= '$ENV{OBJECT_REMOTE_LOG_FORWARDING} = "' . $forwarding . "\";\n";
+}
+
 
 
 my $start = stripspace <<'END_START';