Skip to content

Commit da56bd6

Browse files
authored
Remove LOGLEVEL DB since is no longer used (#2507)
This PR is part of the following HLD: Persistent loglevel HLD: sonic-net/SONiC#1041 - What I did Deleted the LOGLEVEL_DB. After the Logger tables moved from the LOGLEVEL_DB to the CONFIG_DB and the jinja2_cache was deleted the LOGLEVEL_DB is not in use. - How I did it Removed the LOGLEVEL_DB from the SONiC code - How to verify it All tests were passed
1 parent 81f4ea9 commit da56bd6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

fdbsyncd/fdbsyncd.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ int main(int argc, char **argv)
1919
DBConnector appDb(APPL_DB, DBConnector::DEFAULT_UNIXSOCKET, 0);
2020
RedisPipeline pipelineAppDB(&appDb);
2121
DBConnector stateDb(STATE_DB, DBConnector::DEFAULT_UNIXSOCKET, 0);
22-
DBConnector log_db(LOGLEVEL_DB, DBConnector::DEFAULT_UNIXSOCKET, 0);
2322
DBConnector config_db(CONFIG_DB, DBConnector::DEFAULT_UNIXSOCKET, 0);
2423

2524
FdbSync sync(&pipelineAppDB, &stateDb, &config_db);

tests/mock_tests/database_config.json

-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
"separator": ":",
2828
"instance" : "redis"
2929
},
30-
"LOGLEVEL_DB" : {
31-
"id" : 3,
32-
"separator": ":",
33-
"instance" : "redis"
34-
},
3530
"CONFIG_DB" : {
3631
"id" : 4,
3732
"separator": "|",

0 commit comments

Comments
 (0)