add tagged logger, add middlewares to amqp