Added more logging information.