mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Log command line at app startup
This commit is contained in:
parent
64e547aafd
commit
e6c40deb2b
@ -268,6 +268,9 @@ def main():
|
||||
setup_i18n()
|
||||
setup_pypath()
|
||||
|
||||
# Need to do this before GTK strips args like --sync
|
||||
origargs = " ".join(sys.argv[:])
|
||||
|
||||
# Urgh, pygtk merely logs a warning when failing to open
|
||||
# the X11 display connection, and lets everything carry
|
||||
# on as if all were fine. Ultimately bad stuff happens,
|
||||
@ -292,6 +295,8 @@ def main():
|
||||
(options, ignore) = parse_commandline()
|
||||
setup_logging(options.debug)
|
||||
|
||||
logging.debug("Launched as: %s" % origargs)
|
||||
|
||||
# Make sure we have a sufficiently new virtinst version, since we are
|
||||
# very closely tied to the lib
|
||||
msg = ("virt-manager requires the python-virtinst library version " +
|
||||
|
Loading…
Reference in New Issue
Block a user