diff options
author | Harald Welte <laforge@osmocom.org> | 2020-12-07 21:43:51 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-12-09 22:50:01 +0100 |
commit | fde19ed579c3145959301bbe75fde15509276040 (patch) | |
tree | b78eae79616196f470bd65f444975d126cab81d6 /tests | |
parent | 45a25a322276cca7b5aae4be8d2e494442c25b1d (diff) |
logging: Introduce DLBSSGP logging constant
Historically, BSSGP uses a non-constant, user-configurable integer
varieable for the logging sub-system. Let's replace this with a
statically-allocated library logging constant.
This is required if we want to use the subsystem number in e.g.
static initialized for osmo_fsm.log_subsys.
Change-Id: I506190aae9217c0956e4b5764d1a0c0772268e93
Diffstat (limited to 'tests')
-rw-r--r-- | tests/logging/logging_vty_test.vty | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/logging/logging_vty_test.vty b/tests/logging/logging_vty_test.vty index 5a5d7e65..dd2db63b 100644 --- a/tests/logging/logging_vty_test.vty +++ b/tests/logging/logging_vty_test.vty @@ -53,7 +53,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) (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) (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 @@ -471,7 +471,7 @@ 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) (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) (debug|info|notice|error|fatal) .LOGMESSAGE ... logging_vty_test# logp? @@ -503,6 +503,7 @@ logging_vty_test# logp ? ljibuf libosmo-netif Jitter Buffer lrspro Remote SIM protocol lns GPRS NS layer + lbssgp GPRS BSSGP layer logging_vty_test# logp lglobal ? debug Log debug messages and higher levels |