Logging now uses a queue with a dispatcher, just like events.