Changed logging handling to use context correctly
Added QoS with prefetch_count = 1 for RabbitMQ