]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add debug vstart_runner option 38794/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 6 Jan 2021 19:36:49 +0000 (11:36 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 6 Jan 2021 19:36:49 +0000 (11:36 -0800)
The default was changed to INFO recently but there was no way to restore
visibility of DEBUG messages.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/vstart_runner.py

index 2cd0e776b0ef0fb2837cb0e7556f139fb6c8980e..81fd59283769e00e7e9455357b475614edbe02bd 100644 (file)
@@ -1565,6 +1565,8 @@ def exec_test():
             opt_rotate_logs = True
         elif f == '--run-all-tests':
             opt_exit_on_test_failure = False
+        elif f == '--debug':
+            log.setLevel(logging.DEBUG)
         else:
             log.error("Unknown option '{0}'".format(f))
             sys.exit(-1)