Added message loop in the nsq logger
added message loop to nsq logger