env('LOG_CHANNEL', 'stack'), 'channels' => [ 'hi' => [ 'driver' => 'custom', 'via' => CreateCustomLogger::class, 'handler' => AmqpHandler::class, 'with' => [ 'exchange' => new AMQPChannel( new AMQPStreamConnection("base-rabbitmq", 5672, 'root', 'root') ), 'exchangeName' => 'log_exchange' ], ], 'stack' => [ 'driver' => 'stack', 'channels' => ['hi', 'daily',], 'ignore_exceptions' => false, ], 'single' => [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', ], 'daily' => [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', 'days' => 14, ], ], ];