added \n for all messages logged