From b09cc968e6f879222a2fb973c298147c00529269 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sat, 9 May 2026 10:19:16 +0800 Subject: [PATCH] Add curl execute output log --- src/StaticPHP/Runtime/Shell/DefaultShell.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StaticPHP/Runtime/Shell/DefaultShell.php b/src/StaticPHP/Runtime/Shell/DefaultShell.php index 8f77f62d..6c32b155 100644 --- a/src/StaticPHP/Runtime/Shell/DefaultShell.php +++ b/src/StaticPHP/Runtime/Shell/DefaultShell.php @@ -44,6 +44,7 @@ class DefaultShell extends Shell $cmd = SPC_CURL_EXEC . " -sfSL --max-time 3600 {$retry_arg} {$compressed_arg} {$method_arg} {$header_arg} {$url_arg}"; $this->logCommandInfo($cmd); + logger()->debug("[CURL EXECUTE] {$cmd}"); $result = $this->passthru($cmd, capture_output: true, throw_on_error: false); $ret = $result['code']; $output = $result['output'];