From 9762d95cefd0bf577753220fc7ed9c5728a62968 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 7 Nov 2024 12:31:35 +1100 Subject: [PATCH] Some debugging to catch unprocessed areafix commands --- app/Classes/FTN/Process/Netmail/Areafix.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Classes/FTN/Process/Netmail/Areafix.php b/app/Classes/FTN/Process/Netmail/Areafix.php index 34e4fa1..8ecb552 100644 --- a/app/Classes/FTN/Process/Netmail/Areafix.php +++ b/app/Classes/FTN/Process/Netmail/Areafix.php @@ -74,7 +74,7 @@ final class Areafix extends Process // If command doesnt start with %, its an area } elseif (! str_starts_with($command[0],'%')) { - Log::debug(sprintf('%s:= Assuming command [%s] is an AREA command',self::LOGKEY,$command[0])); + Log::info(sprintf('%s:= Assuming command [%s] is an AREA command',self::LOGKEY,$command[0])); array_unshift($command,'%AREA'); } @@ -92,6 +92,7 @@ final class Areafix extends Process if (! class_exists($class)) { $result->push(sprintf('%-25s <-- **COMMAND UNKNOWN**',join(' ',$command))); + Log::info(sprintf('%s:! Command UNKNOWN [%s] ',self::LOGKEY,join('|',$command)),['class'=>$class]); continue; }