add msg queue into logger