HomeClusterLabs Projects

Log: libcib: improve messages for CIB sign-on

Description

Log: libcib: improve messages for CIB sign-on

Don't print CIB sign-on errors to stderr, or log sign-on messages above info
level, because some callers might want to print more contextual messages or not
consider it an error. Also, printing directly to stderr is not appropriate for
daemons, and doesn't play well with the new output model.

Instead, callers should check the return code and print or log a message if
desired. Nearly all already did anyway.

Details

Provenance
kgaillotAuthored on Oct 24 2019, 8:18 PM
Parents
rP80853ac5ca32: Refactor: libcrmcommon: delete unused constant
Branches
Unknown
Tags
Unknown

Event Timeline