From c60a1aa9e448d2164865b0018d11ebb2b78f7c1e Mon Sep 17 00:00:00 2001 From: dongwei <838456736@qq.com> Date: Thu, 10 Jan 2019 15:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=A0=BC=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Providers/ClientServiceProvider.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Providers/ClientServiceProvider.php b/src/Providers/ClientServiceProvider.php index 3354328..bb4a784 100644 --- a/src/Providers/ClientServiceProvider.php +++ b/src/Providers/ClientServiceProvider.php @@ -20,11 +20,7 @@ class ClientServiceProvider extends ServiceProvider $this->app->configure('rpc'); $config = config('rpc.client'); - $dateFormat = "Y n j, g:i a"; - $output = "%datetime% > %level_name% > %message% %context% %extra%\n"; - $formatter = new LineFormatter($output, $dateFormat); $stream = new StreamHandler($this->app->storagePath()."/logs/rpc_monitor_".date("Ymd").".log"); - $stream->setFormatter($formatter); $logger = new Logger('RPC.LOGGER'); $logger->pushHandler($stream); $this->app->singleton('rpc', function () use ($config, $logger) {