Skip to content

Commit 99bfa8f

Browse files
authored
Remove LOGLEVEL DB since is no longer used (#56)
This PR is part of the following HLD: Persistent loglevel HLD: sonic-net/SONiC#1041 #### Why I did it 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 6b0253a commit 99bfa8f

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

doc/grpc_telemetry.md

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ In SONiC, most of the critical network and system data is stored in redisDB. Bas
3030
|APPL_DB | 0 | Application running data |
3131
|ASIC_DB | 1 | ASIC configuration and state data
3232
|COUNTERS_DB | 2 | Counter data for port, lag, queue
33-
|LOGLEVEL_DB | 3 | Log level control for SONiC modules
3433
|CONFIG_DB | 4 | Source of truth for SONiC configuration
3534
|FLEX_COUNTER_DB| 5 | For PFC watch dog counters control and other plugin extensions
3635
|STATE_DB | 6 | Configuration state for object in CONFIG_DB

proto/sonic.pb.go

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/sonic.proto

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ enum Target {
1111
APPL_DB = 0;
1212
ASIC_DB = 1;
1313
COUNTERS_DB = 2;
14-
LOGLEVEL_DB = 3;
1514
CONFIG_DB = 4;
1615
// PFC_WD_DB shares the the same db number with FLEX_COUNTER_DB
1716
PFC_WD_DB = 5;

testdata/database_config.json

-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
"separator": ":",
2323
"instance" : "redis"
2424
},
25-
"LOGLEVEL_DB" : {
26-
"id" : 3,
27-
"separator": ":",
28-
"instance" : "redis"
29-
},
3025
"CONFIG_DB" : {
3126
"id" : 4,
3227
"separator": "|",

testdata/database_config_asic0.json

-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
"separator": ":",
2323
"instance" : "redis"
2424
},
25-
"LOGLEVEL_DB" : {
26-
"id" : 3,
27-
"separator": ":",
28-
"instance" : "redis"
29-
},
3025
"CONFIG_DB" : {
3126
"id" : 4,
3227
"separator": "|",

0 commit comments

Comments
 (0)