From 1351771e46580891f9302f5ef17444b62c672453 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 17 Aug 2020 11:19:49 +0800 Subject: [PATCH] Update log.php --- config/log.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/log.php b/config/log.php index f97d61ac2..eef26e286 100644 --- a/config/log.php +++ b/config/log.php @@ -34,9 +34,9 @@ return [ // 单文件日志写入 'single' => true, // 指定日志类型 - 'level' => ['warning', 'error', 'alert', 'sql'], + 'level' => ['notice', 'error', 'sql'], // 独立日志级别 - 'apart_level' => ['warning', 'error', 'alert', 'sql'], + 'apart_level' => true, // 每个文件大小 ( 10兆 ) 'file_size' => 1024 * 1024 * 10, // 日志日期格式