From de02d39d04478d62a75759de0a2b823bdbaa5b17 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 22 Sep 2026 16:47:55 +0530 Subject: [PATCH] Added log info in sftp file --- app/Console/Commands/ProcessSftpFiles.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/ProcessSftpFiles.php b/app/Console/Commands/ProcessSftpFiles.php index 3f29b93..f15c387 100644 --- a/app/Console/Commands/ProcessSftpFiles.php +++ b/app/Console/Commands/ProcessSftpFiles.php @@ -37,7 +37,7 @@ class ProcessSftpFiles extends Command foreach ($folders as $folder) { - $this->info("Checking folder: $folder"); + Log::info("Checking folder: $folder"); try { @@ -45,7 +45,7 @@ class ProcessSftpFiles extends Command $files = Storage::disk('ftp')->files($folder); foreach ($files as $file) { - $this->info("File: " . $file); + Log::info("File: " . $file); $allFiles[] = $file; } @@ -206,7 +206,7 @@ class ProcessSftpFiles extends Command ->where('aufnr', ($row['aufnr'])) ->get(); - + $existingRecord = $existingRecords->where('gernr', $row['gernr'])->first(); $lastStatus = $existingRecords->max('pending_released_status');