[pve-devel] r5158 - pve-common/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Sep 15 11:43:49 CEST 2010


Author: dietmar
Date: 2010-09-15 09:43:49 +0000 (Wed, 15 Sep 2010)
New Revision: 5158

Modified:
   pve-common/trunk/RPCEnvironment.pm
Log:
remove debugging code


Modified: pve-common/trunk/RPCEnvironment.pm
===================================================================
--- pve-common/trunk/RPCEnvironment.pm	2010-09-15 09:19:48 UTC (rev 5157)
+++ pve-common/trunk/RPCEnvironment.pm	2010-09-15 09:43:49 UTC (rev 5158)
@@ -5,7 +5,6 @@
 use POSIX ":sys_wait_h";
 use IO::File;
 use Fcntl qw(:flock);
-use PVE::SafeSyslog;
 use PVE::INotify;
 use PVE::ProcFSTools;
 
@@ -25,15 +24,12 @@
 
 my $worker_reaper = sub {
     local $!; local $?;
-    syslog('info', "start reaper");
     foreach my $pid (keys %$WORKER_PIDS) {
         my $waitpid = waitpid ($pid, WNOHANG);
-	syslog('info', "test $pid $waitpid");  
         if (defined($waitpid) && ($waitpid == $pid)) {
             delete ($WORKER_PIDS->{$pid});
 	}
     }
-    syslog('info', "end reaper"); 
 };
 
 my $register_worker = sub {




More information about the pve-devel mailing list