control: Remove two debug traces
There are valid cases where a parameter value may not exist even when it
is used in the set_net_increase/decrease_target event configs, so remove
the debug traces that complain when it isn't there so they don't fill up
the journal.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I2c7ca6d58fe073f8164e1b9cadae2b44e6ea37e6
diff --git a/control/json/actions/net_target_decrease.cpp b/control/json/actions/net_target_decrease.cpp
index 393a273..044622d 100644
--- a/control/json/actions/net_target_decrease.cpp
+++ b/control/json/actions/net_target_decrease.cpp
@@ -49,10 +49,6 @@
auto s = Manager::getParameter(_stateParameter);
if (!s)
{
- log<level::DEBUG>(
- fmt::format("Action {}: State parameter {} not found",
- ActionBase::getName(), _stateParameter)
- .c_str());
return;
}
_state = *s;
diff --git a/control/json/actions/net_target_increase.cpp b/control/json/actions/net_target_increase.cpp
index 3d6f9f1..6b30e06 100644
--- a/control/json/actions/net_target_increase.cpp
+++ b/control/json/actions/net_target_increase.cpp
@@ -50,10 +50,6 @@
auto s = Manager::getParameter(_stateParameter);
if (!s)
{
- log<level::DEBUG>(
- fmt::format("Action {}: State parameter {} not found",
- ActionBase::getName(), _stateParameter)
- .c_str());
return;
}
_state = *s;