Fix some issues with report retry beavior, support reading report log from the command line.