All callers of Consensus::Demote() already log an error if the return code is not SA_AIS_OK. A warning message will suffice. --- src/osaf/consensus/consensus.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/osaf/consensus/consensus.cc b/src/osaf/consensus/consensus.cc index 2a8e9bb1c..dc5c9bc46 100644 --- a/src/osaf/consensus/consensus.cc +++ b/src/osaf/consensus/consensus.cc @@ -142,7 +142,7 @@ SaAisErrorT Consensus::Demote(const std::string& node) { } if (rc != SA_AIS_OK) { - LOG_ER("Unlock failed (%u)", rc); + LOG_WA("Unlock failed (%u)", rc); return rc; } -- 2.17.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel