From: Alan Date: Wed, 9 Aug 2023 09:28:23 +0000 (+0800) Subject: rationalize debug X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=699eb4c26fc9514379015766abd6bc2a65777f00 rationalize debug --- diff --git a/Notify.php b/Notify.php index a21a7107..8c176a6d 100644 --- a/Notify.php +++ b/Notify.php @@ -429,10 +429,11 @@ class Pman_Core_Notify extends Pman $pipe = array(); - $this->logecho("call proc_open $cmd"); + //$this->logecho("call proc_open $cmd"); if ($this->max_pool_size === 1) { + this->logecho("call passthru [{$email}] $cmd"); passthru($cmd); return; } @@ -462,7 +463,7 @@ class Pman_Core_Notify extends Pman ); - $this->logecho("RUN ({$info['pid']}) $cmd "); + $this->logecho("RUN [{$email}] ({$info['pid']}) $cmd "); } function poolfree()