Review at  https://gerrit.osmocom.org/4365

log: fix default loglevels

for some log categories the default loglevel is far to verbose.

downgrade all loglevels to LOGL_NOTICE

Change-Id: I3a427ce201c96338a00a84d737d090ac1a77a29f
---
M src/gprs/sgsn_main.c
1 file changed, 9 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/65/4365/1

diff --git a/src/gprs/sgsn_main.c b/src/gprs/sgsn_main.c
index d79beb3..2ef077d 100644
--- a/src/gprs/sgsn_main.c
+++ b/src/gprs/sgsn_main.c
@@ -302,47 +302,47 @@
        [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,
        },
        [DRANAP] = {
                .name = "DRANAP",
                .description = "RAN Application Part (RANAP)",
-               .enabled = 1, .loglevel = LOGL_DEBUG,
+               .enabled = 1, .loglevel = LOGL_NOTICE,
        },
        [DSUA] = {
                .name = "DSUA",
                .description = "SCCP User Adaptation (SUA)",
-               .enabled = 1, .loglevel = LOGL_DEBUG,
+               .enabled = 1, .loglevel = LOGL_NOTICE,
        },
        [DSLHC] = {
                .name = "DSLHC",
                .description = "RFC1144 TCP/IP Header compression (SLHC)",
-               .enabled = 1, .loglevel = LOGL_DEBUG,
+               .enabled = 1, .loglevel = LOGL_NOTICE,
        },
        [DV42BIS] = {
                .name = "DV42BIS",
                .description = "V.42bis data compression (SNDCP)",
-               .enabled = 1, .loglevel = LOGL_DEBUG,
+               .enabled = 1, .loglevel = LOGL_NOTICE,
        }
 };
 

-- 
To view, visit https://gerrit.osmocom.org/4365
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a427ce201c96338a00a84d737d090ac1a77a29f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>

Reply via email to