From 699eb4c26fc9514379015766abd6bc2a65777f00 Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 9 Aug 2023 17:28:23 +0800 Subject: [PATCH] rationalize debug --- Notify.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() -- 2.39.2