my @exclude_mods = qw(XSLoader.pm DynaLoader.pm);
#used by t/watchdog_fatnode
-our $INHIBIT_RUN_NODE = 0;
+our $INHIBIT_RUN_NODE = 0;
sub stripspace {
my ($text) = @_;
my @before_inc = grep { filter_not_core() } @file_names;
my @after_inc;
-#TODO obviously this should be made into a method or configurable some how
+#TODO this is the wrong path to go down - fork() will bring
+#the env vars with it and the ssh connector can handle
+#forwarding the env vars
my $env_pass = '';
if (defined($ENV{OBJECT_REMOTE_LOG_LEVEL})) {
my $level = $ENV{OBJECT_REMOTE_LOG_LEVEL};
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';