Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11589 )
Change subject: sip-connector: update vty reference ...................................................................... sip-connector: update vty reference Change-Id: I79b91847337b6022f8f750533301b3bf0eb086df --- M OsmoSIPConnector/vty/sipconn_vty_reference.xml 1 file changed, 106 insertions(+), 14 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/OsmoSIPConnector/vty/sipconn_vty_reference.xml b/OsmoSIPConnector/vty/sipconn_vty_reference.xml index 35aad6b..dee42e6 100644 --- a/OsmoSIPConnector/vty/sipconn_vty_reference.xml +++ b/OsmoSIPConnector/vty/sipconn_vty_reference.xml @@ -188,7 +188,7 @@ <param name='1' doc='Prefix each log message with the log level name' /> </params> </command> - <command id='logging print file (0|1|basename)'> + <command id='logging print file (0|1|basename) [last]'> <params> <param name='logging' doc='Configure logging' /> <param name='print' doc='Log output settings' /> @@ -196,6 +196,7 @@ <param name='0' doc='Don't prefix each log message' /> <param name='1' doc='Prefix each log message with the source file and line' /> <param name='basename' doc='Prefix each log message with the source file's basename (strip leading paths) and line' /> + <param name='[last]' doc='Log source file info at the end of a log line. If omitted, log source file info just before the log text.' /> </params> </command> <command id='logging set-log-mask MASK'> @@ -205,11 +206,10 @@ <param name='MASK' doc='List of logging categories to log, e.g. 'abc:mno:xyz'. Available log categories depend on the specific application, refer to the 'logging level' command. Optionally add individual log levels like 'abc,1:mno,3:xyz,5', where the level numbers are LOGL_DEBUG=1 LOGL_INFO=3 LOGL_NOTICE=5 LOGL_ERROR=7 LOGL_FATAL=8' /> </params> </command> - <command id='logging level (all|sip|mncc|app|call|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (everything|debug|info|notice|error|fatal)'> + <command id='logging level (sip|mncc|app|call|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal)'> <params> <param name='logging' doc='Configure logging' /> <param name='level' doc='Set the log level for a specified category' /> - <param name='all' doc='Global setting for all subsystems' /> <param name='sip' doc='SIP interface' /> <param name='mncc' doc='MNCC interface' /> <param name='app' doc='Application interface' /> @@ -232,7 +232,6 @@ <param name='lm3ua' doc='libosmo-sigtran MTP3 User Adaptation' /> <param name='lmgcp' doc='libosmo-mgcp Media Gateway Control Protocol' /> <param name='ljibuf' doc='libosmo-netif Jitter Buffer' /> - <param name='everything' doc='Don't use. It doesn't log anything' /> <param name='debug' doc='Log debug messages and higher levels' /> <param name='info' doc='Log informational messages and higher levels' /> <param name='notice' doc='Log noticeable messages and higher levels' /> @@ -240,6 +239,38 @@ <param name='fatal' doc='Log only fatal messages' /> </params> </command> + <command id='logging level set-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='set-all' doc='Once-off set all categories to the given log level. There is no single command to take back these changes -- each category is set to the given level, period.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='logging level force-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Globally force all logging categories to a specific level. This is released by the 'no logging level force-all' command. Note: any 'logging level <category> <level>' commands will have no visible effect after this, until the forced level is released.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='no logging level force-all'> + <params> + <param name='no' doc='Negate a command or set its defaults' /> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Release any globally forced log level set with 'logging level force-all <level>'' /> + </params> + </command> <command id='show logging vty'> <params> <param name='show' doc='Show running system information' /> @@ -308,8 +339,7 @@ <param name='show' doc='Show running system information' /> <param name='startup-config' doc='Contentes of startup configuration' /> </params> - </command> - <command id='show version'> + </command> <command id='show version'> <params> <param name='show' doc='Show running system information' /> <param name='version' doc='Displays program version' /> @@ -451,7 +481,7 @@ <param name='1' doc='Prefix each log message with the log level name' /> </params> </command> - <command id='logging print file (0|1|basename)'> + <command id='logging print file (0|1|basename) [last]'> <params> <param name='logging' doc='Configure logging' /> <param name='print' doc='Log output settings' /> @@ -459,6 +489,7 @@ <param name='0' doc='Don't prefix each log message' /> <param name='1' doc='Prefix each log message with the source file and line' /> <param name='basename' doc='Prefix each log message with the source file's basename (strip leading paths) and line' /> + <param name='[last]' doc='Log source file info at the end of a log line. If omitted, log source file info just before the log text.' /> </params> </command> <command id='logging set-log-mask MASK'> @@ -468,11 +499,10 @@ <param name='MASK' doc='List of logging categories to log, e.g. 'abc:mno:xyz'. Available log categories depend on the specific application, refer to the 'logging level' command. Optionally add individual log levels like 'abc,1:mno,3:xyz,5', where the level numbers are LOGL_DEBUG=1 LOGL_INFO=3 LOGL_NOTICE=5 LOGL_ERROR=7 LOGL_FATAL=8' /> </params> </command> - <command id='logging level (all|sip|mncc|app|call|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (everything|debug|info|notice|error|fatal)'> + <command id='logging level (sip|mncc|app|call|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal)'> <params> <param name='logging' doc='Configure logging' /> <param name='level' doc='Set the log level for a specified category' /> - <param name='all' doc='Global setting for all subsystems' /> <param name='sip' doc='SIP interface' /> <param name='mncc' doc='MNCC interface' /> <param name='app' doc='Application interface' /> @@ -495,7 +525,6 @@ <param name='lm3ua' doc='libosmo-sigtran MTP3 User Adaptation' /> <param name='lmgcp' doc='libosmo-mgcp Media Gateway Control Protocol' /> <param name='ljibuf' doc='libosmo-netif Jitter Buffer' /> - <param name='everything' doc='Don't use. It doesn't log anything' /> <param name='debug' doc='Log debug messages and higher levels' /> <param name='info' doc='Log informational messages and higher levels' /> <param name='notice' doc='Log noticeable messages and higher levels' /> @@ -503,6 +532,38 @@ <param name='fatal' doc='Log only fatal messages' /> </params> </command> + <command id='logging level set-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='set-all' doc='Once-off set all categories to the given log level. There is no single command to take back these changes -- each category is set to the given level, period.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='logging level force-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Globally force all logging categories to a specific level. This is released by the 'no logging level force-all' command. Note: any 'logging level <category> <level>' commands will have no visible effect after this, until the forced level is released.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='no logging level force-all'> + <params> + <param name='no' doc='Negate a command or set its defaults' /> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Release any globally forced log level set with 'logging level force-all <level>'' /> + </params> + </command> <command id='show logging vty'> <params> <param name='show' doc='Show running system information' /> @@ -855,7 +916,7 @@ <param name='1' doc='Prefix each log message with the log level name' /> </params> </command> - <command id='logging print file (0|1|basename)'> + <command id='logging print file (0|1|basename) [last]'> <params> <param name='logging' doc='Configure logging' /> <param name='print' doc='Log output settings' /> @@ -863,13 +924,13 @@ <param name='0' doc='Don't prefix each log message' /> <param name='1' doc='Prefix each log message with the source file and line' /> <param name='basename' doc='Prefix each log message with the source file's basename (strip leading paths) and line' /> + <param name='[last]' doc='Log source file info at the end of a log line. If omitted, log source file info just before the log text.' /> </params> </command> - <command id='logging level (all|sip|mncc|app|call|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (everything|debug|info|notice|error|fatal)'> + <command id='logging level (sip|mncc|app|call|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf) (debug|info|notice|error|fatal)'> <params> <param name='logging' doc='Configure logging' /> <param name='level' doc='Set the log level for a specified category' /> - <param name='all' doc='Global setting for all subsystems' /> <param name='sip' doc='SIP interface' /> <param name='mncc' doc='MNCC interface' /> <param name='app' doc='Application interface' /> @@ -892,7 +953,6 @@ <param name='lm3ua' doc='libosmo-sigtran MTP3 User Adaptation' /> <param name='lmgcp' doc='libosmo-mgcp Media Gateway Control Protocol' /> <param name='ljibuf' doc='libosmo-netif Jitter Buffer' /> - <param name='everything' doc='Don't use. It doesn't log anything' /> <param name='debug' doc='Log debug messages and higher levels' /> <param name='info' doc='Log informational messages and higher levels' /> <param name='notice' doc='Log noticeable messages and higher levels' /> @@ -900,6 +960,38 @@ <param name='fatal' doc='Log only fatal messages' /> </params> </command> + <command id='logging level set-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='set-all' doc='Once-off set all categories to the given log level. There is no single command to take back these changes -- each category is set to the given level, period.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='logging level force-all (debug|info|notice|error|fatal)'> + <params> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Globally force all logging categories to a specific level. This is released by the 'no logging level force-all' command. Note: any 'logging level <category> <level>' commands will have no visible effect after this, until the forced level is released.' /> + <param name='debug' doc='Log debug messages and higher levels' /> + <param name='info' doc='Log informational messages and higher levels' /> + <param name='notice' doc='Log noticeable messages and higher levels' /> + <param name='error' doc='Log error messages and higher levels' /> + <param name='fatal' doc='Log only fatal messages' /> + </params> + </command> + <command id='no logging level force-all'> + <params> + <param name='no' doc='Negate a command or set its defaults' /> + <param name='logging' doc='Configure logging' /> + <param name='level' doc='Set the log level for a specified category' /> + <param name='force-all' doc='Release any globally forced log level set with 'logging level force-all <level>'' /> + </params> + </command> </node> <node id='config-stats'> <name>config-stats</name> -- To view, visit https://gerrit.osmocom.org/11589 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I79b91847337b6022f8f750533301b3bf0eb086df Gerrit-Change-Number: 11589 Gerrit-PatchSet: 3 Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002)