Skip to content

Commit

Permalink
Fix: scripts.health: call setup_logging() before importing crmsh.re…
Browse files Browse the repository at this point in the history
…prot.utils
  • Loading branch information
nicholasyang2022 committed Dec 8, 2023
1 parent 6cd50a0 commit a23bea6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/health/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
import hashlib
import platform
import crm_script

import crmsh.log
crmsh.log.setup_logging()
from crmsh.report import utils

data = crm_script.get_input()

PACKAGES = ['booth', 'cluster-glue', 'corosync', 'crmsh', 'csync2', 'drbd',
Expand Down

0 comments on commit a23bea6

Please sign in to comment.