Added logging info about the returned package and fixed logging formatting bugs.