X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;fp=perl%2FDXCommandmode.pm;h=18c5807b28085d91d26b281a1ba0813bdf8c1778;hb=102b51ca564ef29e7f84d2cf65d0eaa5fdab671a;hp=1dd868c0aa79600c371307b1224513decb25e492;hpb=f11237c455a6440b5158206dcb2d03850ed1b7b0;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 1dd868c0..18c5807b 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -547,13 +547,13 @@ sub run_cmd my $t0 = [gettimeofday]; eval { @ans = &{"${package}::handle"}($self, $args) }; if ($@) { - dbgprintring(25); + DXDebug::dbgprintring(25); return (DXDebug::shortmess($@)); } if (isdbg('progress')) { my $msecs = _diffms($t0); my $s = "CMD: '$cmd $args' by $call ip: $self->{hostname} ${msecs}mS"; - dbg($s); + dbg($s) if $cmd =~/(?:echo|blank)/ || isdbg('echo'); # cut down a bit on HRD and other clients' noise } } else { dbg("cmd: $package not present") if isdbg('command');