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/.
Keith Whyte gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/4313
vty logging: restore level everything for level all
This modifies https://gerrit.osmocom.org/#/c/3148
to allow issuing of logging level all everything.
Change-Id: Idd9933e0e1c06fd217866e2d4dbe6cae63296a16
---
M src/vty/logging_vty.c
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/13/4313/1
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 9b7d10a..1c59472 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -218,17 +218,17 @@
return CMD_WARNING;
}
- if (strcmp(argv[1], "everything") == 0) { /* FIXME: remove this check once 'everything' is phased out */
- vty_out(vty, "%% Ignoring deprecated logging level %s%s", argv[1], VTY_NEWLINE);
- return CMD_SUCCESS;
- }
-
/* Check for special case where we want to set global log level */
if (!strcmp(argv[0], "all")) {
log_set_log_level(tgt, level);
return CMD_SUCCESS;
}
+ if (strcmp(argv[1], "everything") == 0) { /* FIXME: remove this check once 'everything' is phased out */
+ vty_out(vty, "%% Ignoring deprecated logging level %s%s", argv[1], VTY_NEWLINE);
+ return CMD_SUCCESS;
+ }
+
if (category < 0) {
vty_out(vty, "Invalid category `%s'%s", argv[0], VTY_NEWLINE);
return CMD_WARNING;
--
To view, visit https://gerrit.osmocom.org/4313
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idd9933e0e1c06fd217866e2d4dbe6cae63296a16
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Keith Whyte <keith at rhizomatica.org>