|
|
@@ -1011,7 +1011,7 @@ class ExamPdfExportService
|
|
|
$utf8Html = $this->ensureUtf8Html($html);
|
|
|
$written = file_put_contents($tmpHtml, $utf8Html);
|
|
|
|
|
|
- Log::info('ExamPdfExportService: HTML文件已创建', [
|
|
|
+ Log::warning('ExamPdfExportService: [调试] HTML文件已创建', [
|
|
|
'path' => $tmpHtml,
|
|
|
'html_length' => strlen($utf8Html),
|
|
|
'written_bytes' => $written,
|
|
|
@@ -1097,7 +1097,7 @@ class ExamPdfExportService
|
|
|
$process->setTimeout(60); // 【优化】减少超时到60秒
|
|
|
$killSignal = \defined('SIGKILL') ? \SIGKILL : 9;
|
|
|
|
|
|
- Log::info('ExamPdfExportService: Chrome命令准备执行', [
|
|
|
+ Log::warning('ExamPdfExportService: [调试] Chrome命令准备执行', [
|
|
|
'chrome_binary' => $chromeBinary,
|
|
|
'html_path' => $htmlPath,
|
|
|
'html_exists' => file_exists($htmlPath),
|