replace all print with log

it was created also a crash report log file if log type is an error or a critical log
Vedi doc, formatter_class=argparse.ArgumentDefaultsHelpFormatter