Change in libosmocore[master]: logging: Add VTY cmd: logging level 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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Jul 26 10:17:37 UTC 2018


Hello Jenkins Builder, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/10136

to look at the new patch set (#2).

Change subject: logging: Add VTY cmd: logging level default <loglevel>
......................................................................

logging: Add VTY cmd: logging level default <loglevel>

This command is useful while debugging an osmocom application in the
VTY. It allows a user to keep per-category set loglevels while changing
the default log level.

For instance, scenario:
1- Set everything to error to get as low output as possible (but keep
seeing errors):
logging level all error
2- Set several categories to debug:
logging level trx debug
logging level l1c info
logging level l1p info
3- Decide more output is required while keeping setup for previously set
categories:
logging level default notice

As a result, we have trx=debug, l1c=info, l1p=info and all the other
categories are handled as loglvel notice.

Change-Id: Iee0d4da16b075e798f85c3f6adeb513057fd5402
---
M src/logging.c
M src/vty/logging_vty.c
2 files changed, 21 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/36/10136/2
-- 
To view, visit https://gerrit.osmocom.org/10136
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iee0d4da16b075e798f85c3f6adeb513057fd5402
Gerrit-Change-Number: 10136
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180726/ea5f07ae/attachment.htm>


More information about the gerrit-log mailing list