From 44131d862a154b58263de565f5a419c74be09005 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 18 Aug 2023 12:13:41 +0800 Subject: [PATCH] log email on notify close --- Notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notify.php b/Notify.php index 097e975c..43bf41ba 100644 --- a/Notify.php +++ b/Notify.php @@ -565,7 +565,7 @@ class Pman_Core_Notify extends Pman //fclose($p['pipes'][1]); fclose($p['pipes'][0]); fclose($p['pipes'][2]); - $this->logecho("TERMINATING: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out'])); + $this->logecho("TERMINATING: ({$p['pid']}) {$p['email']} " . $p['cmd'] . " : " . file_get_contents($p['out'])); @unlink($p['out']); // schedule again @@ -597,7 +597,7 @@ class Pman_Core_Notify extends Pman // $pool[] = $p; // continue; //} - $this->logecho("ENDED: ({$p['pid']}) " . $p['cmd'] . " : " . file_get_contents($p['out']) ); + $this->logecho("ENDED: ({$p['pid']}) {$p['email']} " . $p['cmd'] . " : " . file_get_contents($p['out']) ); @unlink($p['out']); // at this point we could pop onto the queue the $this->popQueueDomain($p['email']); -- 2.39.2