From 45968536c5829a4f5a3a2eb3802684d404fafa36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 24 Aug 2023 14:19:47 +0800 Subject: [PATCH] qqq --- Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.php b/Connection.php index de05480..e1dfb5e 100644 --- a/Connection.php +++ b/Connection.php @@ -164,7 +164,7 @@ class Connection extends Component return $client; } - file_put_contents('php://output', 'PDO连接已失效, 空闲超时或已不可用,重新获取.', FILE_APPEND); + $this->logger->error('PDO连接已失效, 空闲超时或已不可用,重新获取.', [$this->cds]); $this->pool()->abandon($this->cds); Waite::sleep(10);