diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-06-28 21:59:05 +0100 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-07-27 17:53:14 -0400 |
commit | 01ff867f56d6a3f0b4b5cadcca3d29aa445a5aaf (patch) | |
tree | 9e600390b837a016539b5d55d72666d840d04d72 /virtinst | |
parent | b5e8e58d747c31af68ae353370cd3c2146fe0113 (diff) | |
download | virt-manager-01ff867f56d6a3f0b4b5cadcca3d29aa445a5aaf.tar.gz |
virtinst: include the version number in first log message
Knowledge of the version number is not always available from the user
bug report. They may merely have a log file from an automated system.
Including the version number in the log message is key information.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'virtinst')
-rw-r--r-- | virtinst/cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virtinst/cli.py b/virtinst/cli.py index 91e55e8b..3c0252b1 100644 --- a/virtinst/cli.py +++ b/virtinst/cli.py @@ -201,7 +201,8 @@ def setupLogging(appname, debug_stdout, do_quiet, cli_app=True): sys.excepthook = exception_log # Log the app command string - log.debug("Launched with command line: %s", " ".join(sys.argv)) + log.debug("Version %s launched with command line: %s", + BuildConfig.version, " ".join(sys.argv)) ############################## |