queue logger and mqpublish modifyed