HomeClusterLabs Projects

Low: log: Allow CIB upgrade messages to start with W, I, D

Description

Low: log: Allow CIB upgrade messages to start with W, I, D

Previously, if cib_upgrade_err() received a message that started with
"W" and ctx == NULL, it would skip the first 9 characters as though the
message began with "WARNING: ". Likewise for "I"/"INFO: " and
"D/DEBUG: ".

The function/logging scheme could be improved further, but this fixes
the immediate issue.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mon, Dec 2, 7:00 PM
Parents
rPd0ba99354972: Merge pull request #3730 from kgaillot/rules
Branches
Unknown
Tags
Unknown