Skip to content

Commit

Permalink
Supress log statistics INFO log --> DEBUG (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinzor authored Oct 11, 2024
1 parent adca41b commit 19dccbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/novatel_oem7_driver/src/oem7_message_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ namespace novatel_oem7_driver
*/
void outputLogStatistics()
{
RCLCPP_INFO_STREAM(get_logger(), "Log Statistics:");
RCLCPP_INFO_STREAM(get_logger(), "Logs: " << total_log_count_ << "; unknown: " << unknown_msg_num_
RCLCPP_DEBUG_STREAM(get_logger(), "Log Statistics:");
RCLCPP_DEBUG_STREAM(get_logger(), "Logs: " << total_log_count_ << "; unknown: " << unknown_msg_num_
<< "; discarded: " << discarded_msg_num_);

for(log_count_map_t::iterator itr = log_counts_.begin();
Expand All @@ -284,7 +284,7 @@ namespace novatel_oem7_driver
int id = itr->first;
long count = itr->second;

RCLCPP_INFO_STREAM(get_logger(), "Log[" << id << "]:" << count);
RCLCPP_DEBUG_STREAM(get_logger(), "Log[" << id << "]:" << count);
}
}

Expand Down

0 comments on commit 19dccbc

Please sign in to comment.