HomeClusterLabs Projects

Fix: scheduler: Don't make a new logger in log_resource_details.

Description

Fix: scheduler: Don't make a new logger in log_resource_details.

Doing formatted output from this function is only needed in some command
line cases - typically, crm_simulate without running in quiet mode. For
the daemons, we'll already have a logger set up so there's no need to
make one. For command line tools, we won't want to log.

Details

Provenance
clumensAuthored on Mar 23 2021, 11:23 AM
Parents
rP73621c3fdc29: Refactor: scheduler: Use an output message for promotion scores.
Branches
Unknown
Tags
Unknown

Event Timeline