added log emitter listener