[PATCH v3 0/7] Add support for log file and version display