Compare commits

..

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

@ -77,7 +77,7 @@ class RabbitMQHandler extends AbstractProcessingHandler
{
$data = json_encode($record);
$msg = new AMQPMessage($data, [
'delivery_mode' => 2
'delivery_mode' => AMQPMessage::DELIVERY_MODE_PERSISTENT
]);
$this->channel->basic_publish($msg, $this->exchange, $this->routingKey);

@ -69,8 +69,6 @@ trait LogTrait
{
$this->initializeLogServices();
$customData['server_ip'] = config('laravel-logs-layer.server_ip');
foreach ($this->logServices as $logService) {
$logService->$method($message, [
'custom_data' => $customData,
@ -149,8 +147,6 @@ 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,

@ -15,5 +15,4 @@ return [
'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'),
'server_ip' => env('SERVER_IP', '127.0.0.1')
];

Loading…
Cancel
Save