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