logging: use meaningful default loglevels
Some logging categories use LOGL_INFO or even LOGL_DEBUG. Lets set those to LOGL_NOTICE to have a less crowded default log output. Change-Id: I3faefccae2218b17bd942bc2afac7d8e515897b7 Related: OS#2577
This commit is contained in:
parent
3e8518a44b
commit
0af84f408d
|
@ -36,7 +36,7 @@ static const struct log_info_cat default_categories[] = {
|
||||||
.name = "DCS",
|
.name = "DCS",
|
||||||
.description = "Cell selection",
|
.description = "Cell selection",
|
||||||
.color = "\033[34m",
|
.color = "\033[34m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DNB] = {
|
[DNB] = {
|
||||||
.name = "DNB",
|
.name = "DNB",
|
||||||
|
@ -48,54 +48,54 @@ static const struct log_info_cat default_categories[] = {
|
||||||
.name = "DPLMN",
|
.name = "DPLMN",
|
||||||
.description = "PLMN selection",
|
.description = "PLMN selection",
|
||||||
.color = "\033[32m",
|
.color = "\033[32m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DRR] = {
|
[DRR] = {
|
||||||
.name = "DRR",
|
.name = "DRR",
|
||||||
.description = "Radio Resource",
|
.description = "Radio Resource",
|
||||||
.color = "\033[1;34m",
|
.color = "\033[1;34m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DMM] = {
|
[DMM] = {
|
||||||
.name = "DMM",
|
.name = "DMM",
|
||||||
.description = "Mobility Management",
|
.description = "Mobility Management",
|
||||||
.color = "\033[1;32m",
|
.color = "\033[1;32m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DCC] = {
|
[DCC] = {
|
||||||
.name = "DCC",
|
.name = "DCC",
|
||||||
.description = "Call Control",
|
.description = "Call Control",
|
||||||
.color = "\033[1;33m",
|
.color = "\033[1;33m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DSS] = {
|
[DSS] = {
|
||||||
.name = "DSS",
|
.name = "DSS",
|
||||||
.description = "Supplenmentary Services",
|
.description = "Supplenmentary Services",
|
||||||
.color = "\033[1;35m",
|
.color = "\033[1;35m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DSMS] = {
|
[DSMS] = {
|
||||||
.name = "DSMS",
|
.name = "DSMS",
|
||||||
.description = "Short Message Service",
|
.description = "Short Message Service",
|
||||||
.color = "\033[1;37m",
|
.color = "\033[1;37m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DMNCC] = {
|
[DMNCC] = {
|
||||||
.name = "DMNCC",
|
.name = "DMNCC",
|
||||||
.description = "Mobile Network Call Control",
|
.description = "Mobile Network Call Control",
|
||||||
.color = "\033[1;37m",
|
.color = "\033[1;37m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DMEAS] = {
|
[DMEAS] = {
|
||||||
.name = "DMEAS",
|
.name = "DMEAS",
|
||||||
.description = "MEasurement Reporting",
|
.description = "MEasurement Reporting",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DPAG] = {
|
[DPAG] = {
|
||||||
.name = "DPAG",
|
.name = "DPAG",
|
||||||
.description = "Paging",
|
.description = "Paging",
|
||||||
.color = "\033[33m",
|
.color = "\033[33m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DL1C] = {
|
[DL1C] = {
|
||||||
.name = "DL1C",
|
.name = "DL1C",
|
||||||
|
@ -107,37 +107,37 @@ static const struct log_info_cat default_categories[] = {
|
||||||
.name = "DSAP",
|
.name = "DSAP",
|
||||||
.description = "SAP Control",
|
.description = "SAP Control",
|
||||||
.color = "\033[1;31m",
|
.color = "\033[1;31m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DSUM] = {
|
[DSUM] = {
|
||||||
.name = "DSUM",
|
.name = "DSUM",
|
||||||
.description = "Summary of Process",
|
.description = "Summary of Process",
|
||||||
.color = "\033[1;37m",
|
.color = "\033[1;37m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DSIM] = {
|
[DSIM] = {
|
||||||
.name = "DSIM",
|
.name = "DSIM",
|
||||||
.description = "SIM client",
|
.description = "SIM client",
|
||||||
.color = "\033[0;35m",
|
.color = "\033[0;35m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DGPS] = {
|
[DGPS] = {
|
||||||
.name = "DGPS",
|
.name = "DGPS",
|
||||||
.description = "GPS",
|
.description = "GPS",
|
||||||
.color = "\033[1;35m",
|
.color = "\033[1;35m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DMOB] = {
|
[DMOB] = {
|
||||||
.name = "DMOB",
|
.name = "DMOB",
|
||||||
.description = "Mobile",
|
.description = "Mobile",
|
||||||
.color = "\033[1;35m",
|
.color = "\033[1;35m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DPRIM] = {
|
[DPRIM] = {
|
||||||
.name = "DPRIM",
|
.name = "DPRIM",
|
||||||
.description = "PRIM",
|
.description = "PRIM",
|
||||||
.color = "\033[1;32m",
|
.color = "\033[1;32m",
|
||||||
.enabled = 1, .loglevel = LOGL_DEBUG,
|
.enabled = 1, .loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DLUA] = {
|
[DLUA] = {
|
||||||
.name = "DLUA",
|
.name = "DLUA",
|
||||||
|
|
|
@ -70,28 +70,28 @@ static const struct log_info_cat default_categories[] = {
|
||||||
.description = "Layer 1 Control",
|
.description = "Layer 1 Control",
|
||||||
.color = "\033[1;31m",
|
.color = "\033[1;31m",
|
||||||
.enabled = 1,
|
.enabled = 1,
|
||||||
.loglevel = LOGL_INFO,
|
.loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DL1P] = {
|
[DL1P] = {
|
||||||
.name = "DL1P",
|
.name = "DL1P",
|
||||||
.description = "Layer 1 Data",
|
.description = "Layer 1 Data",
|
||||||
.color = "\033[1;31m",
|
.color = "\033[1;31m",
|
||||||
.enabled = 1,
|
.enabled = 1,
|
||||||
.loglevel = LOGL_INFO,
|
.loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DVIRPHY] = {
|
[DVIRPHY] = {
|
||||||
.name = "DVIRPHY",
|
.name = "DVIRPHY",
|
||||||
.description = "Virtual Layer 1 Interface",
|
.description = "Virtual Layer 1 Interface",
|
||||||
.color = "\033[1;31m",
|
.color = "\033[1;31m",
|
||||||
.enabled = 1,
|
.enabled = 1,
|
||||||
.loglevel = LOGL_INFO,
|
.loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
[DMAIN] = {
|
[DMAIN] = {
|
||||||
.name = "DMAIN",
|
.name = "DMAIN",
|
||||||
.description = "Main Program / Data Structures",
|
.description = "Main Program / Data Structures",
|
||||||
.color = "\033[1;32m",
|
.color = "\033[1;32m",
|
||||||
.enabled = 1,
|
.enabled = 1,
|
||||||
.loglevel = LOGL_INFO,
|
.loglevel = LOGL_NOTICE,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue