remove some logger
This commit is contained in:
parent
54c80c06f3
commit
301271771e
|
@ -39,9 +39,7 @@ class TunnelMiddleware
|
|||
{
|
||||
//过滤tool返回结果
|
||||
if ($response instanceof JsonResponse) {
|
||||
app('rpc.logger')->info('record to influxdb', [app()->environment('dev', 'production')]);
|
||||
if (app()->environment('dev', 'production')) {
|
||||
app('rpc.logger')->info('record to influxdb');
|
||||
$content = $response->getOriginalContent();
|
||||
$status = isset($content['error']) ? $content['error']['code'] : 200;
|
||||
$client = new \InfluxDB\Client("10.0.1.67");
|
||||
|
|
Loading…
Reference in New Issue
Block a user