Compare commits

..

No commits in common. 'production' and '0.2.4' have entirely different histories.

@ -69,8 +69,6 @@ trait LogTrait
{ {
$this->initializeLogServices(); $this->initializeLogServices();
$customData['server_ip'] = config('laravel-logs-layer.server_ip');
foreach ($this->logServices as $logService) { foreach ($this->logServices as $logService) {
$logService->$method($message, [ $logService->$method($message, [
'custom_data' => $customData, 'custom_data' => $customData,
@ -149,8 +147,6 @@ trait LogTrait
$this->initializeLogServices(); $this->initializeLogServices();
$customData['server_ip'] = config('laravel-logs-layer.server_ip');
foreach ($this->logServices as $logService) { foreach ($this->logServices as $logService) {
$logService->$log_level($caller, $exception, ExceptionContextDTO::fromArray([ $logService->$log_level($caller, $exception, ExceptionContextDTO::fromArray([
'code' => $errorCode, 'code' => $errorCode,

@ -15,5 +15,4 @@ return [
'backoff' => explode(',', env('LOG_QUEUE_BACKOFF', '15')) 'backoff' => explode(',', env('LOG_QUEUE_BACKOFF', '15'))
], ],
'sensitive_data' => env('LOGS_LAYER_SENSITIVE_DATA', 'password,password_confirmation,token,api_token,api_key,access_token,refresh_token,authorization_code,client_secret'), 'sensitive_data' => env('LOGS_LAYER_SENSITIVE_DATA', 'password,password_confirmation,token,api_token,api_key,access_token,refresh_token,authorization_code,client_secret'),
'server_ip' => env('SERVER_IP', '127.0.0.1')
]; ];

Loading…
Cancel
Save