osaf/services/saf/immsv/immnd/ImmModel.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


After a commit of an SMF campaign, the syslog was filled with thousands of log
messages with the text "Delete of PERSISTENT runtime object ...". Since the
syslog is a global log for all applications running on a node, OpenSAF ought to
be careful to not produce an excessive amount of syslog messages. The message
has therefore been converted to a trace message.

diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc 
b/osaf/services/saf/immsv/immnd/ImmModel.cc
--- a/osaf/services/saf/immsv/immnd/ImmModel.cc
+++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
@@ -16592,10 +16592,10 @@ SaInt32T ImmModel::pbePrtObjDeletesConti
         if(error == SA_AIS_OK) {
             if(oMut->mAfterImage->mObjFlags & IMM_PRTO_FLAG) {
                 if(oMut->mAfterImage->mImplementer) {
-                    LOG_NO("Delete of PERSISTENT runtime object '%s' (%s).", 
i2->first.c_str(),
+                    TRACE("Delete of PERSISTENT runtime object '%s' (%s).", 
i2->first.c_str(),
                         
oMut->mAfterImage->mImplementer->mImplementerName.c_str());
                 } else {
-                    LOG_NO("Delete of PERSISTENT runtime object '%s' (%s).", 
i2->first.c_str(), 
+                    TRACE("Delete of PERSISTENT runtime object '%s' (%s).", 
i2->first.c_str(), 
                         "<detached>");
                 }
             } else {

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to