Change in openbsc[master]: debug: use only LOGL_NOTICE as default 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 10:44:11 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/openbsc/+/17605 )


Change subject: debug: use only LOGL_NOTICE as default loglevel
......................................................................

debug: use only LOGL_NOTICE as default loglevel

in libcommon/debug.c one can find some of the log categories set to
LOGL_INFO or even to LOGL_DEBUG. Lets use only LOGL_NOTICE to avoid too
much log output

Change-Id: Id2bca6ec3d29a3d10e84f9b3067be09b64a6b587
Related: OS#2577
---
M openbsc/src/libcommon/debug.c
1 file changed, 11 insertions(+), 11 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/05/17605/1

diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index f29f168..a8ce700 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -71,7 +71,7 @@
 		.name = "DNM",
 		.description = "A-bis Network Management / O&M (NM/OML)",
 		.color = "\033[1;36m",
-		.enabled = 1, .loglevel = LOGL_INFO,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DMNCC] = {
 		.name = "DMNCC",
@@ -123,27 +123,27 @@
 	[DGPRS] = {
 		.name = "DGPRS",
 		.description = "GPRS Packet Service",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[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,
 	},
 	[DSNDCP] = {
 		.name = "DSNDCP",
 		.description = "GPRS Sub-Network Dependent Control Protocol (SNDCP)",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DNAT] = {
 		.name = "DNAT",
@@ -158,27 +158,27 @@
 	[DSMPP] = {
 		.name = "DSMPP",
 		.description = "SMPP interface for external SMS apps",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DFILTER] = {
 		.name = "DFILTER",
 		.description = "BSC/NAT IMSI based filtering",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DRANAP] = {
 		.name = "DRANAP",
 		.description = "Radio Access Network Application Part Protocol",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DSUA] = {
 		.name = "DSUA",
 		.description = "SCCP User Adaptation Protocol",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DPCU] = {
 		.name = "DPCU",
 		.description = "PCU Interface",
-		.enabled = 1, .loglevel = LOGL_DEBUG,
+		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 };
 

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

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Change-Id: Id2bca6ec3d29a3d10e84f9b3067be09b64a6b587
Gerrit-Change-Number: 17605
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/bb3a280c/attachment.htm>


More information about the gerrit-log mailing list