HomeClusterLabs Projects

Log: libcrmservice: downgrade failed action messages

Description

Log: libcrmservice: downgrade failed action messages

Previously, we would often get duplicate log messages for failed actions,
from the service library and again from its callers.

Now that the service library tracks and provides exit reasons, callers can log
sufficient detail with better context, so downgrade the library's messages to
info level or lower. Similarly, avoid duplicate logs of process output.

Certain messages (such as out-of-memory) remain at higher severity.

Details

Provenance
kgaillotAuthored on Sep 16 2021, 5:50 PM
Parents
rP9f9dea518da5: Test: cts-fencing: update expected log messages
Branches
Unknown
Tags
Unknown

Event Timeline