Well, I can't read, and was about to suggest exactly what you already do, i.e. ``rabbitconfig.logger = logger``.