Move debugging Move option debugging to a more useful place. Signed-off-by: John Levon <john.levon@xxxxxxx> diff --git a/virt-convert b/virt-convert --- a/virt-convert +++ b/virt-convert @@ -249,11 +250,6 @@ def main(): def main(): options = parse_args() cli.setupLogging("virt-convert", options.debug) - - logging.debug("input_file: %s" % options.input_file) - logging.debug("input_dir: %s" % options.input_dir) - logging.debug("output_file: %s" % options.output_file) - logging.debug("output_dir: %s" % options.input_dir) vm_config = parse_vmware_config(options) record, disks_list = vm_config @@ -280,6 +276,11 @@ def main(): options.output_file = os.path.join(options.output_dir, "%s.virt-image.xml" % name) + logging.debug("input_file: %s" % options.input_file) + logging.debug("input_dir: %s" % options.input_dir) + logging.debug("output_file: %s" % options.output_file) + logging.debug("output_dir: %s" % options.input_dir) + # configuration completed, ready to write config file and convert disks out = open(options.output_file, "w") out.writelines(out_contents) _______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools