From 8b86cd76cf6e5254f888276d73f94bb0bfcee03b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 23 Feb 2017 18:03:28 +0100 Subject: logging.h: fixup: shorter names for LOGGING_FILTER_* and LOGGING_CTX_* My recent logging patch was merged to master a bit too soon. Accomodate the request for naming that matches the general "LOG" prefix instead of "LOGGING". libosmocore will not be backwards-compatible with the few commits from change-id I5c343630020f4b108099696fd96c2111614c8067 up to this one. This and following commits are backwards compatible with those before that short window. See also: * openbsc change-id Ib2ec5e4884aa90f48051ee2f832af557aa525991 * osmo-pcu change-id I4db4a668f2be07f3d55f848d38d1b490d8a7a685 Change-Id: I424fe3f12ea620338902b2bb8230544bde3f1a93 --- src/vty/logging_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vty') diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c index 30ee4559..aabcaa75 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -287,7 +287,7 @@ static void vty_print_logtarget(struct vty *vty, const struct log_info *info, } vty_out(vty, " Log Filter 'ALL': %s%s", - tgt->filter_map & (1 << LOGGING_FILTER_ALL) ? "Enabled" : "Disabled", + tgt->filter_map & (1 << LOG_FLT_ALL) ? "Enabled" : "Disabled", VTY_NEWLINE); /* print application specific filters */ @@ -687,7 +687,7 @@ static int config_write_log_single(struct vty *vty, struct log_target *tgt) } vty_out(vty, " logging filter all %u%s", - tgt->filter_map & (1 << LOGGING_FILTER_ALL) ? 1 : 0, VTY_NEWLINE); + tgt->filter_map & (1 << LOG_FLT_ALL) ? 1 : 0, VTY_NEWLINE); /* save filters outside of libosmocore, i.e. in app code */ if (osmo_log_info->save_fn) osmo_log_info->save_fn(vty, osmo_log_info, tgt); -- cgit v1.2.3