Commit 1d3cbce4 authored by wangzhengwen's avatar wangzhengwen

log config

parent be362d47
......@@ -38,5 +38,21 @@ return [
// 是否实时写入
'realtime_write' => false,
],
// 新增支付任务专用通道
'payment_task' => [
'type' => 'file',
'path' => runtime_path('log') . 'payment_task/', // 独立目录
'single' => true, // 单个文件(否则按日期分割)
'file_name' => 'task.log', // 固定文件名
'level' => ['info', 'error'], // 只记录 info 和 error
],
//
'project_task' => [
'type' => 'file',
'path' => runtime_path('log') . 'project_task/', // 独立目录
'single' => true, // 单个文件(否则按日期分割)
'file_name' => 'task.log', // 固定文件名
'level' => ['info', 'error'], // 只记录 info 和 error
],
],
];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment