模板文件目录更改

This commit is contained in:
2019-07-10 17:12:55 +08:00
parent 5046d8374a
commit 380e1345e6
66 changed files with 1114 additions and 61 deletions

View File

@@ -29,23 +29,25 @@ return [
'channels' => [
'file' => [
// 日志记录方式
'type' => 'File',
'type' => 'File',
// 日志保存目录
'path' => '',
'path' => app()->getRuntimePath() . 'log',
// 单文件日志写入
'single' => false,
'single' => false,
// 独立日志级别
'apart_level' => [],
'apart_level' => [],
// 最大日志文件数量
'max_files' => 0,
'max_files' => 0,
// 使用JSON格式记录
'json' => false,
'json' => false,
// 日志处理
'processor' => null,
'processor' => null,
// 关闭通道日志写入
'close' => false,
'close' => false,
// 日志输出格式化
'format' => '[%s][%s] %s',
'format' => '[%s][%s] %s',
// 是否实时写入
'realtime_write' => false,
],
// 其它日志通道配置
],