From 6cf65d9d81d4c4d8863d06876b292679513d1fc8 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 18 Jan 2021 17:55:35 +0100 Subject: gprs_ns2: rework logging of Rx and Tx NS PDU Introduce 2 new logging sub systems for signal and unit data. Unify log messages so all log messages look similiar. Log also Rx PDUs. Ensure dropped Tx packets (BLOCK/RESET on SNS) contain *Tx*. Change-Id: I34b8fde2955ecc010d1dcd9512e1bba9211e2c0d --- tests/logging/logging_vty_test.vty | 58 ++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 28 deletions(-) (limited to 'tests') diff --git a/tests/logging/logging_vty_test.vty b/tests/logging/logging_vty_test.vty index 82db2cce..91c2a486 100644 --- a/tests/logging/logging_vty_test.vty +++ b/tests/logging/logging_vty_test.vty @@ -54,7 +54,7 @@ logging_vty_test# list logging print level (0|1) logging print file (0|1|basename) [last] logging set-log-mask MASK - logging level (aa|bb|ccc|dddd|eee|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp) (debug|info|notice|error|fatal) + logging level (aa|bb|ccc|dddd|eee|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal) (debug|info|notice|error|fatal) logging level set-all (debug|info|notice|error|fatal) logging level force-all (debug|info|notice|error|fatal) no logging level force-all @@ -472,39 +472,41 @@ DEEE FATAL Log message for DEEE on level LOGL_FATAL logging_vty_test# list ... - logp (aa|bb|ccc|dddd|eee|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp) (debug|info|notice|error|fatal) .LOGMESSAGE + logp (aa|bb|ccc|dddd|eee|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal) (debug|info|notice|error|fatal) .LOGMESSAGE ... logging_vty_test# logp? logp Print a message on all log outputs; useful for placing markers in test logs logging_vty_test# logp ? - aa Antropomorphic Armadillos (AA) - bb Bidirectional Breadspread (BB) - ccc Chaos Communication Congress (CCC) - dddd Dehydrated Dribbling Duck Dunkers (DDDD) - eee Exhaustive Entropy Extraction (EEE) - lglobal Library-internal global log family - llapd LAPD in libosmogsm - linp A-bis Intput Subsystem - lmux A-bis B-Subchannel TRAU Frame Multiplex - lmi A-bis Input Driver for Signalling - lmib A-bis Input Driver for B-Channels (voice) - lsms Layer3 Short Message Service (SMS) - lctrl Control Interface - lgtp GPRS GTP library - lstats Statistics messages and logging - lgsup Generic Subscriber Update Protocol - loap Osmocom Authentication Protocol - lss7 libosmo-sigtran Signalling System 7 - lsccp libosmo-sigtran SCCP Implementation - lsua libosmo-sigtran SCCP User Adaptation - lm3ua libosmo-sigtran MTP3 User Adaptation - lmgcp libosmo-mgcp Media Gateway Control Protocol - ljibuf libosmo-netif Jitter Buffer - lrspro Remote SIM protocol - lns GPRS NS layer - lbssgp GPRS BSSGP layer + aa Antropomorphic Armadillos (AA) + bb Bidirectional Breadspread (BB) + ccc Chaos Communication Congress (CCC) + dddd Dehydrated Dribbling Duck Dunkers (DDDD) + eee Exhaustive Entropy Extraction (EEE) + lglobal Library-internal global log family + llapd LAPD in libosmogsm + linp A-bis Intput Subsystem + lmux A-bis B-Subchannel TRAU Frame Multiplex + lmi A-bis Input Driver for Signalling + lmib A-bis Input Driver for B-Channels (voice) + lsms Layer3 Short Message Service (SMS) + lctrl Control Interface + lgtp GPRS GTP library + lstats Statistics messages and logging + lgsup Generic Subscriber Update Protocol + loap Osmocom Authentication Protocol + lss7 libosmo-sigtran Signalling System 7 + lsccp libosmo-sigtran SCCP Implementation + lsua libosmo-sigtran SCCP User Adaptation + lm3ua libosmo-sigtran MTP3 User Adaptation + lmgcp libosmo-mgcp Media Gateway Control Protocol + ljibuf libosmo-netif Jitter Buffer + lrspro Remote SIM protocol + lns GPRS NS layer + lbssgp GPRS BSSGP layer + lnsdata GPRS NS layer data PDU + lnssignal GPRS NS layer signal PDU logging_vty_test# logp lglobal ? debug Log debug messages and higher levels -- cgit v1.2.3