Change in libosmocore[master]: logging/vty: use LOG_LEVEL_ARGS in logging_vty_add_deprecated_subsys()

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Nov 20 17:23:59 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/16139 )


Change subject: logging/vty: use LOG_LEVEL_ARGS in logging_vty_add_deprecated_subsys()
......................................................................

logging/vty: use LOG_LEVEL_ARGS in logging_vty_add_deprecated_subsys()

Change-Id: I862c3cce0147ee8cf4013501132584ea09c58b53
---
M src/vty/logging_vty.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/16139/1

diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 9615943..b4c3776 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -1005,8 +1005,7 @@
 {
 	struct cmd_element *cmd = talloc_zero(ctx, struct cmd_element);
 	OSMO_ASSERT(cmd);
-	cmd->string = talloc_asprintf(cmd, "logging level %s (debug|info|notice|error|fatal)",
-				    name);
+	cmd->string = talloc_asprintf(cmd, "logging level %s " LOG_LEVEL_ARGS, name);
 	cmd->func = log_deprecated_func;
 	cmd->doc = LEVEL_STR
 		   "Deprecated Category\n";

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/16139
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I862c3cce0147ee8cf4013501132584ea09c58b53
Gerrit-Change-Number: 16139
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191120/e54b1fea/attachment.htm>


More information about the gerrit-log mailing list