Marshalling log events to correct thread