Change in osmo-bts[master]: logging: use only LOGL_NOTICE as defualt loglevel

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Mar 25 11:01:23 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/17606 )


Change subject: logging: use only LOGL_NOTICE as defualt loglevel
......................................................................

logging: use only LOGL_NOTICE as defualt loglevel

some of the log categories in logging.c are set to LOGL_INFO or even to
LOGL_DEBUG. This is too verbose. Lets set those categories to
LOGL_NOTICE. Also the BTS manager programs (...bts_mgr.c) use LOGL_INFO
by default. This should be set to LOGL_NOTICE as well

Related: OS#2577
Change-Id: I6e7a635f9b4a93529661dafc591d512d7b7e8c75
---
M src/common/logging.c
M src/osmo-bts-litecell15/misc/lc15bts_mgr.c
M src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
M src/osmo-bts-sysmo/misc/sysmobts_mgr.c
4 files changed, 23 insertions(+), 23 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/06/17606/1

diff --git a/src/common/logging.c b/src/common/logging.c
index 8340736..5edb3ea 100644
--- a/src/common/logging.c
+++ b/src/common/logging.c
@@ -35,13 +35,13 @@
 		.name = "DRSL",
 		.description = "A-bis Radio Siganlling Link (RSL)",
 		.color = "\033[1;35m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DOML] =	{
 		.name = "DOML",
 		.description = "A-bis Network Management / O&M (NM/OML)",
 		.color = "\033[1;36m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DRLL] = {
 		.name = "DRLL",
@@ -64,24 +64,24 @@
 		.name = "DPAG",
 		.description = "Paging Subsystem",
 		.color = "\033[1;38m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DL1C] = {
 		.name = "DL1C",
 		.description = "Layer 1 Control (MPH)",
-		.loglevel = LOGL_INFO,
+		.loglevel = LOGL_NOTICE,
 		.enabled = 1,
 	},
 	[DL1P] = {
 		.name = "DL1P",
 		.description = "Layer 1 Primitives (PH)",
-		.loglevel = LOGL_INFO,
+		.loglevel = LOGL_NOTICE,
 		.enabled = 0,
 	},
 	[DDSP] = {
 		.name = "DDSP",
 		.description = "DSP Trace Messages",
-		.loglevel = LOGL_DEBUG,
+		.loglevel = LOGL_NOTICE,
 		.enabled = 1,
 	},
 	[DABIS] = {
@@ -123,17 +123,17 @@
 	[DNS] = {
 		.name = "DNS",
 		.description = "GPRS Network Service (NS)",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DBSSGP] = {
 		.name = "DBSSGP",
 		.description = "GPRS BSS Gateway Protocol (BSSGP)",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DLLC] = {
 		.name = "DLLC",
 		.description = "GPRS Logical Link Control Protocol (LLC)",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 #endif
 	[DSUM] = {
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
index ccacc1e..da21c9d 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
@@ -248,31 +248,31 @@
 		.name = "DTEMP",
 		.description = "Temperature monitoring",
 		.color = "\033[1;35m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFW] =	{
 		.name = "DFW",
 		.description = "Firmware management",
 		.color = "\033[1;36m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFIND] = {
 		.name = "DFIND",
 		.description = "ipaccess-find handling",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DCALIB] = {
 		.name = "DCALIB",
 		.description = "Calibration handling",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DSWD] = {
 		.name = "DSWD",
 		.description = "Software Watchdog",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 };
 
diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c b/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
index 25948b0..66c9f28 100644
--- a/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
+++ b/src/osmo-bts-oc2g/misc/oc2gbts_mgr.c
@@ -228,31 +228,31 @@
 		.name = "DTEMP",
 		.description = "Temperature monitoring",
 		.color = "\033[1;35m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFW] =	{
 		.name = "DFW",
 		.description = "Firmware management",
 		.color = "\033[1;36m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFIND] = {
 		.name = "DFIND",
 		.description = "ipaccess-find handling",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DCALIB] = {
 		.name = "DCALIB",
 		.description = "Calibration handling",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DSWD] = {
 		.name = "DSWD",
 		.description = "Software Watchdog",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 };
 
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
index 50c9c22..dc7af3c 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
@@ -218,25 +218,25 @@
 		.name = "DTEMP",
 		.description = "Temperature monitoring",
 		.color = "\033[1;35m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFW] =	{
 		.name = "DFW",
 		.description = "DSP/FPGA firmware management",
 		.color = "\033[1;36m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFIND] = {
 		.name = "DFIND",
 		.description = "ipaccess-find handling",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DCALIB] = {
 		.name = "DCALIB",
 		.description = "Calibration handling",
 		.color = "\033[1;37m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 };
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/17606
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I6e7a635f9b4a93529661dafc591d512d7b7e8c75
Gerrit-Change-Number: 17606
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200325/f806118b/attachment.htm>


More information about the gerrit-log mailing list