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'], ], // +----------------------------------------------------------------------