add soom log
This commit is contained in:
parent
d237d10295
commit
aa524dd865
|
@ -24,7 +24,7 @@ class Client
|
|||
$default = [
|
||||
'app' => '***',
|
||||
'log_path'=> "/logs/rpc_monitor_".date("Ymd").".log",
|
||||
'log_formatter' => JsonRpc\Logging\LogstashFormatter::class,
|
||||
'log_formatter' => \JsonRpc\Logging\LogstashFormatter::class,
|
||||
];
|
||||
$this->config = array_merge($default, $config);
|
||||
$stream = new StreamHandler(app()->storagePath().$this->config['log_path']);
|
||||
|
|
Loading…
Reference in New Issue
Block a user