From b9c89aebf171698cb1003b59f5825dec6b32d148 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Mon, 5 Feb 2024 11:54:36 -0500 Subject: [PATCH] for sanity reasons -- huge RID lists make the log *VERY VERY* noisy, we'll silence this by not logging the toggle events; --- src/common/lookups/RadioIdLookup.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/common/lookups/RadioIdLookup.cpp b/src/common/lookups/RadioIdLookup.cpp index 3bfbca66..64af410d 100644 --- a/src/common/lookups/RadioIdLookup.cpp +++ b/src/common/lookups/RadioIdLookup.cpp @@ -48,24 +48,6 @@ RadioIdLookup::RadioIdLookup(const std::string& filename, uint32_t reloadTime, b void RadioIdLookup::toggleEntry(uint32_t id, bool enabled) { RadioId rid = find(id); - if (!rid.radioEnabled() && rid.radioDefault()) { - if (enabled) { - LogMessage(LOG_HOST, "Added enabled RID %u (%s) to RID ACL table", id, rid.radioAlias().c_str()); - } - else { - LogMessage(LOG_HOST, "Added disabled RID %u (%s) to RID ACL table", id, rid.radioAlias().c_str()); - } - } - - if (!rid.radioEnabled() && !rid.radioDefault()) { - if (enabled) { - LogMessage(LOG_HOST, "Enabled RID %u (%s) in RID ACL table", id, rid.radioAlias().c_str()); - } - else { - LogMessage(LOG_HOST, "Disabled RID %u (%s) in RID ACL table", id, rid.radioAlias().c_str()); - } - } - addEntry(id, enabled, rid.radioAlias()); }