From 0c1610e9a28d221608239668e6bd993725a31963 Mon Sep 17 00:00:00 2001 From: Jason McHuff Date: Sat, 13 May 2023 23:00:30 -0700 Subject: [PATCH] trace log frequent Moto Patch Add messages, debug log new patches --- trunk-recorder/systems/p25_parser.cc | 2 +- trunk-recorder/systems/system_impl.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk-recorder/systems/p25_parser.cc b/trunk-recorder/systems/p25_parser.cc index eb690f6b5..e93ba759a 100644 --- a/trunk-recorder/systems/p25_parser.cc +++ b/trunk-recorder/systems/p25_parser.cc @@ -248,7 +248,7 @@ std::vector P25Parser::decode_tsbk(boost::dynamic_bitset<> &tsbk, unsigned long ga1 = bitset_shift_mask(tsbk, 48, 0xffff); unsigned long ga2 = bitset_shift_mask(tsbk, 32, 0xffff); unsigned long ga3 = bitset_shift_mask(tsbk, 16, 0xffff); - BOOST_LOG_TRIVIAL(debug) << "tsbk00\tMoto Patch Add \tsg: " << sg << "\tga1: " << ga1 << "\tga2: " << ga2 << "\tga3: " << ga3; + BOOST_LOG_TRIVIAL(trace) << "tsbk00\tMoto Patch Add \tsg: " << sg << "\tga1: " << ga1 << "\tga2: " << ga2 << "\tga3: " << ga3; message.message_type = PATCH_ADD; PatchData moto_patch_data; moto_patch_data.sg = sg; diff --git a/trunk-recorder/systems/system_impl.cc b/trunk-recorder/systems/system_impl.cc index 3eda3aace..61ee77898 100644 --- a/trunk-recorder/systems/system_impl.cc +++ b/trunk-recorder/systems/system_impl.cc @@ -542,7 +542,7 @@ void System_impl::update_active_talkgroup_patches(PatchData patch_data) { } if (new_flag == true) { // TGIDs from the Message were not found in an existing patch, so add them to a new one - // BOOST_LOG_TRIVIAL(debug) << "Adding a new patch"; + BOOST_LOG_TRIVIAL(debug) << "tsbk00\tNew Motorola patch fround, \tsg: " << patch_data.sg << "\tga1: " << patch_data.ga1 << "\tga2: " << patch_data.ga2 << "\tga3: " << patch_data.ga3; std::map new_patch; if (0 != patch_data.sg) { new_patch[patch_data.sg] = update_time;