Emit events instead of logging