HomeClusterLabs Projects

Low: daemons: Conditionally enable logging in pacemakerd.

Description

Low: daemons: Conditionally enable logging in pacemakerd.

If we're doing an interactive command-line call, use
pcmk__cli_init_logging. At the moment, all command line calls except
for --shutdown do their work before logging would even come up, so we
really only need to do this for --shutdown.

If we're doing a daemon call, use crm_log_init.

Details

Provenance
clumensAuthored on May 17 2021, 11:09 AM
Parents
rP35e6da64381f: Features: daemons: Output the pacemakerd feature list in XML.
Branches
Unknown
Tags
Unknown

Event Timeline