]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart_runner: maintain log level when --debug is passed 42030/head
authorRishabh Dave <ridave@redhat.com>
Wed, 23 Jun 2021 12:17:59 +0000 (17:47 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 24 Jun 2021 12:37:49 +0000 (18:07 +0530)
commit73567a14472d27b3e3f7e774065137c17e67102e
tree598530e2529a7caa9536b6f7390269fce592a502
parent08661e6f57cf13585ad0afe41ff8b70952276378
vstart_runner: maintain log level when --debug is passed

When --debug and --clear-old-log options are passed to vstart_runner.py,
it ends up resetting log level to the default level (which is
logging.INFO) despite of --debug. Set "log_level" as default parameter
to init_log() so that the log level code for clearing old log can pass
current logging level to init_log() to maintain the log level user
desired for.

Fixes: https://tracker.ceph.com/issues/51344
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/vstart_runner.py