libosmocore.git branch master updated. 0.10.2-123-gc6fd2457

gitosis at gitosis at
Fri Jan 19 15:47:07 UTC 2018

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  c6fd24576c482be35f9d0b7f247e69a3153b9cc6 (commit)
       via  0e2a94326ed575e801f434b72399e5fb8b429d61 (commit)
       via  bd7bd3947d4882bd7939e34d4565027c64524742 (commit)
      from  1ac277dcef694a2f849a6b5259cf5aa4488bebb9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit c6fd24576c482be35f9d0b7f247e69a3153b9cc6
Author: Neels Hofmeyr <neels at>
Date:   Tue Jan 16 01:57:38 2018 +0100

    logging vty: add 'logging print file (0|1|basename)' cmd
    Add a VTY command that allows configuring the output of source filename. So
    far, this was not configurable by VTY at all.
    Change-Id: If1bd79026a3c680ccf7587d545d12f7759a998fc

commit 0e2a94326ed575e801f434b72399e5fb8b429d61
Author: Neels Hofmeyr <neels at>
Date:   Tue Jan 16 02:49:48 2018 +0100

    logging: allow to log only the basename of each source
    In the C API, add another enum log_file_type value, and when set print only the
    basename of the source file path.
    Rationale: especially when not building directly in the source dir, the paths
    to the source files can become rather long. Usually, just the basename of the
    file is sufficient to identify the source line.
    Change-Id: If3e4d5fb2066f8bf86e59c82d1752b1a843cf58e

commit bd7bd3947d4882bd7939e34d4565027c64524742
Author: Neels Hofmeyr <neels at>
Date:   Tue Jan 16 01:52:29 2018 +0100

    logging: separate the '<000b>' subsys from filename logging
    Add a separate flag and API to switch the category-in-hex output:
    Add log_set_print_filename2() to modify only the print_filename flag. The old
    log_set_print_filename() function still affects both flags. Explain the
    rationale in the comment for log_set_print_filename().
    There is no need to deprecate log_set_print_filename(); it might cause compiler
    warnings and break strict builds unnecessarily.
    Add VTY command 'logging print category-hex (0|1)'.
    Since there is no VTY command to switch filename output, nothing needs to be
    adjusted there (a command will be added in a subsequent patch).
    Change-Id: Iba03a2b7915853c6dccaf6c393c31405320538b4


Summary of changes:
 include/osmocom/core/logging.h | 15 +++++++++-
 src/logging.c                  | 62 ++++++++++++++++++++++++++++++++++++++----
 src/vty/logging_vty.c          | 46 +++++++++++++++++++++++++++++++
 3 files changed, 116 insertions(+), 7 deletions(-)

An utility library for Open Source Mobile Communications

More information about the osmocom-commitlog mailing list