From 301271771ea3c013f757150582340122e27b612b Mon Sep 17 00:00:00 2001 From: dongwei <838456736@qq.com> Date: Tue, 12 Feb 2019 15:11:47 +0800 Subject: [PATCH] remove some logger --- src/Middleware/TunnelMiddleware.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Middleware/TunnelMiddleware.php b/src/Middleware/TunnelMiddleware.php index 57d870b..f8cdd39 100644 --- a/src/Middleware/TunnelMiddleware.php +++ b/src/Middleware/TunnelMiddleware.php @@ -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");