修改日志记录方式

This commit is contained in:
root
2020-07-11 10:10:42 +08:00
parent 454e1fcd55
commit 42e75f50ff
2 changed files with 21 additions and 10 deletions

View File

@@ -268,14 +268,9 @@ class Master
*/
protected function initLog()
{
$log = config('log.channels.file');
$log['path'] = config('catch.schedule.store_path');
$channels = config('log.channels');
$channels['schedule'] = $log;
$channels['schedule'] = config('catch.schedule.log');;
config([
'channels' => $channels,