Fixed _upload_from_command_line function printing problem.
Fixed logging problem in _upload_from_command_line function.