From c059c3e33ac1f07e9737e514c11a96672d4b884c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Neto?= Date: Wed, 10 Jan 2024 10:55:54 -0400 Subject: [PATCH] Removendo logs em fila temporariamente. --- src/app/Services/AbstractLogService.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/Services/AbstractLogService.php b/src/app/Services/AbstractLogService.php index d6e96e1..b437541 100644 --- a/src/app/Services/AbstractLogService.php +++ b/src/app/Services/AbstractLogService.php @@ -209,10 +209,6 @@ abstract class AbstractLogService implements Contracts\LogServiceInterface */ protected function log(string $level, string $message, array $data): void { - if (config('laravel-logs-layer.queue.enabled', false)){ - Log::channel($this->getLogChannel())->$level($message, $data); - } - - dispatch(new ProcessLog($this->getLogChannel(), $level, $message, $data)); + Log::channel($this->getLogChannel())->$level($message, $data); } } \ No newline at end of file