mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-05 01:10:37 +00:00
定时任务记录问题修复
This commit is contained in:
parent
edaf7526d7
commit
23c96d9453
@ -148,7 +148,7 @@ class SystemCrontabListener implements ListenerInterface
|
||||
$timer_log_open = config("log.timer_log", false);
|
||||
if ($timer_log_open){
|
||||
$date = date('Y-m-d H:i:s', time());
|
||||
Log::notice($date . $msg);
|
||||
Log::info($date . $msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -265,7 +265,7 @@ class SystemCrontabServices extends BaseServices
|
||||
$timer_log_open = config("log.timer_log", false);
|
||||
if ($timer_log_open) {
|
||||
$date = date('Y-m-d H:i:s', time());
|
||||
Log::notice($date . $msg);
|
||||
Log::info($date . $msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -17,7 +17,7 @@ return [
|
||||
// 默认日志记录通道
|
||||
'default' => Env::get('log.channel', 'file'),
|
||||
// 日志记录级别
|
||||
'level' => ['error', 'warning', 'fail', 'success'],
|
||||
'level' => ['error', 'warning', 'fail', 'success', 'info', 'notice'],
|
||||
// 日志类型记录的通道 ['error'=>'email',...]
|
||||
'type_channel' => [],
|
||||
//是否开启业务成功日志
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user