fix logging emitter