Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

thinkphp 为什么独立日志配置没生效?

https://www.kancloud.cn/manua...

我的配置 configlog.php

<?php
return [
    // 日志记录方式,内置 file socket 支持扩展
    'type'        => 'File',
    // 独立日志级别
    'apart_level'   =>  ['error', 'sql'],
];

可是我的 runtimelog 目录并没有独立日志:

tp002.png

断点在 thinkphplibraryhinkLog.php, 发现配置也正常

tp001.png

请问为什么日志没有独立输出成多个日志文件呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...