Skip to content

Commit

Permalink
Use -- markers --- with existing log entries that delimit output from…
Browse files Browse the repository at this point in the history
… checks
  • Loading branch information
yrro committed Mar 13, 2024
1 parent 14294d0 commit 71f20f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipahealthcheck/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def run_service_plugins(plugins, source, check):
)
continue

logger.debug('Calling check %s', plugin)
logger.debug('--- Calling check %s ---', plugin)
for result in plugin.check():
# always run the service checks so dependencies work
if result is not None and result.result == constants.SUCCESS:
Expand Down Expand Up @@ -228,7 +228,7 @@ def run_plugins(plugins, available, source, check,
if not source_or_check_matches(plugin, source, check):
continue

logger.debug("Calling check %s", plugin)
logger.debug("--- Calling check %s ---", plugin)
if not set(plugin.requires).issubset(available):
logger.debug('Skipping %s:%s because %s service(s) not running',
plugin.__class__.__module__,
Expand Down

0 comments on commit 71f20f0

Please sign in to comment.