channel-config: reduce logspam
If a channel isn't configured in the channel_config, it is initialized
with `isChValid = false`, which effectively disables it. Unfortunately,
the code was also emitting a warning log for every possible channel.
On Bletchley I was observing tens of these log messages every few
seconds, which is not particularly helpful. Delete the logspam.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie130c8eb891476e26f25cafce94cb6522bc3a66e
diff --git a/user_channel/channel_mgmt.cpp b/user_channel/channel_mgmt.cpp
index 9ddd5ad..94137ff 100644
--- a/user_channel/channel_mgmt.cpp
+++ b/user_channel/channel_mgmt.cpp
@@ -950,9 +950,6 @@
Json jsonChData = data[chKey].get<Json>();
if (jsonChData.is_null())
{
- log<level::WARNING>(
- "Channel not configured so loading default.",
- entry("CHANNEL_NUM=%d", chNum));
// If user didn't want to configure specific channel (say
// reserved channel), then load that index with default values.
setDefaultChannelConfig(chNum, defaultChannelName);