This commit is contained in:
thinkphp
2017-11-16 16:01:48 +08:00
parent 9f8b4f9357
commit 3fd0d5eb00

View File

@@ -66,7 +66,7 @@ class File
if (in_array($type, $this->config['apart_level'])) {
// 独立记录的日志级别
if ($this->config['single']) {
$filename = $path . $type . '.log';
$filename = $path . DS . $type . '.log';
} else {
$filename = $path . DS . date('d') . '_' . $type . $cli . '.log';
}