|
From: <pra...@or...> - 2015-01-14 06:25:55
|
osaf/services/saf/amf/amfd/sg_npm_fsm.cc | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
When AMFD distributes SIs equally and it does final screening it logs:
Screening for SI transfer FAILED as there are no assignments yet.
Since SIs are already equally distributed or there is no possibility
of equal distribution (only one SU) this should be a trace instead of
syslog.
Patch changes LOG_ER into traces when AMFD runs SI equal distribution
logic.
diff --git a/osaf/services/saf/amf/amfd/sg_npm_fsm.cc b/osaf/services/saf/amf/amfd/sg_npm_fsm.cc
--- a/osaf/services/saf/amf/amfd/sg_npm_fsm.cc
+++ b/osaf/services/saf/amf/amfd/sg_npm_fsm.cc
@@ -2090,7 +2090,8 @@ static void avd_sg_npm_screening_for_si_
}
}
} else {
- LOG_ER("Screening for SI transfer FAILED as there are no assignments yet %s:%u ", __FILE__,__LINE__);
+ TRACE("No max assigned SU, so no redistribution of SIs '%s'",
+ avd_sg->name.value);
goto done;
}
@@ -2143,7 +2144,8 @@ static void avd_sg_npm_screening_for_si_
}
}
} else {
- LOG_ER("Screening for SI transfer FAILED as there are no assignments yet %s:%u ", __FILE__,__LINE__);
+ TRACE("No max assigned SU, so no redistribution of SIs '%s'",
+ avd_sg->name.value);
goto done;
}
|