Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: vstart_runner: maintain log level when --debug is passed #52977

Merged
merged 1 commit into from Jan 24, 2024

Conversation

k0ste
Copy link
Contributor

@k0ste k0ste commented Aug 14, 2023

backport tracker: https://tracker.ceph.com/issues/51654


backport of #42030
parent tracker: https://tracker.ceph.com/issues/51344

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

@github-actions github-actions bot added the tests label Aug 14, 2023
@github-actions github-actions bot added this to the pacific milestone Aug 14, 2023
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>
(cherry picked from commit 73567a1)
@ljflores
Copy link
Contributor

@yuriw yuriw merged commit 1688e98 into ceph:pacific Jan 24, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants