We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按照手册的配置为例子: return [ 'default' => 'file', 'channels' => [ 'file' => [ 'type' => 'file', 'max_files' => 30, 'file_size' => 1024102410, ], ], ];
如果日志文件已经有 30 个了, 在当天的日志文件超过 10M 的情况下, 会生成出一个 "1692933919-20230825.log" 的文件。
因为 "1692933919-20230825.log" 是第 31 个文件, 所以会被删除,即超过 file_size 的日志数据就会丢失。
The text was updated successfully, but these errors were encountered:
top-think/framework#2919
Sorry, something went wrong.
No branches or pull requests
按照手册的配置为例子:
return [
'default' => 'file',
'channels' => [
'file' => [
'type' => 'file',
'max_files' => 30,
'file_size' => 1024102410,
],
],
];
如果日志文件已经有 30 个了, 在当天的日志文件超过 10M 的情况下, 会生成出一个 "1692933919-20230825.log" 的文件。
因为 "1692933919-20230825.log" 是第 31 个文件, 所以会被删除,即超过 file_size 的日志数据就会丢失。
The text was updated successfully, but these errors were encountered: