diff --git a/src/app/Traits/LogTrait.php b/src/app/Traits/LogTrait.php index bab5939..a08db64 100644 --- a/src/app/Traits/LogTrait.php +++ b/src/app/Traits/LogTrait.php @@ -149,6 +149,8 @@ trait LogTrait $this->initializeLogServices(); + $customData['server_ip'] = config('laravel-logs-layer.server_ip'); + foreach ($this->logServices as $logService) { $logService->$log_level($caller, $exception, ExceptionContextDTO::fromArray([ 'code' => $errorCode,