Add more report log utility functions, fix retry behavior.