Skip to content

Commit

Permalink
Call SWSSLogger_restartLogger to start logger thread
Browse files Browse the repository at this point in the history
  • Loading branch information
yue-fred-gao committed Jan 24, 2025
1 parent a95469d commit 42dccc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/c_api_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ TEST(c_api, Logger) {
SWSSDBConnector_new_named("CONFIG_DB", 1000, true, &db);

SWSSLogger_linkToDbWithOutput(LOG_NAME_FOR_TEST, logLevelNotify, "NOTICE", logOutputNotify, "SYSLOG");
Logger::restartLogger();
SWSSLogger_restartLogger();

sleep(1);

Expand Down

0 comments on commit 42dccc4

Please sign in to comment.