From fc23a344b131df5b59adf7146321b7dbc71b9953 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 7 Feb 2017 03:04:16 -0500 Subject: [PATCH] no commit message --- config/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config.php b/config/config.php index 21c0531f7..cead0223a 100644 --- a/config/config.php +++ b/config/config.php @@ -8,7 +8,6 @@ // +---------------------------------------------------------------------- // | Author: liu21st // +---------------------------------------------------------------------- - return [ // +---------------------------------------------------------------------- // | 应用设置 @@ -169,6 +168,8 @@ return [ 'path' => LOG_PATH, // 日志记录级别 'level' => [], + // error和sql日志单独记录 + 'apart_level' => ['error', 'sql'], ], // +----------------------------------------------------------------------