Ver código fonte

Update supervisord.py

Changed priority of error message for reaping an unknown pid from critical to info.
hansthen 10 anos atrás
pai
commit
a9cfada090
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      supervisor/supervisord.py

+ 1 - 1
supervisor/supervisord.py

@@ -283,7 +283,7 @@ class Supervisor:
         if pid:
         if pid:
             process = self.options.pidhistory.get(pid, None)
             process = self.options.pidhistory.get(pid, None)
             if process is None:
             if process is None:
-                self.options.logger.critical('reaped unknown pid %s' % pid)
+                self.options.logger.info('reaped unknown pid %s' % pid)
             else:
             else:
                 process.finish(pid, sts)
                 process.finish(pid, sts)
                 del self.options.pidhistory[pid]
                 del self.options.pidhistory[pid]