Skip to content

Commit d3a30ba

Browse files
author
Shuotian Cheng
authored
[syncd]: Remove SWSS_LOG_TIMER and update log level (sonic-net#188)
- Remove counter collection timer - Change counter thread log to INFO
1 parent 7acacf3 commit d3a30ba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

syncd/syncd_counters.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ void collectCounters(swss::Table &countersTable,
1212

1313
SWSS_LOG_ENTER();
1414

15-
SWSS_LOG_TIMER("get counters");
16-
1715
uint32_t countersSize = (uint32_t)supportedCounters.size();
1816

1917
std::vector<uint64_t> counters;
@@ -136,10 +134,10 @@ void endCountersThread()
136134

137135
if (g_countersThread != NULL)
138136
{
139-
SWSS_LOG_NOTICE("counters thread join");
137+
SWSS_LOG_INFO("counters thread join");
140138

141139
g_countersThread->join();
142140
}
143141

144-
SWSS_LOG_NOTICE("counters thread ended");
142+
SWSS_LOG_INFO("counters thread ended");
145143
}

0 commit comments

Comments
 (0)