Change in osmo-e1d[master]: add missing call to logging_vty_add_cmds() during startup

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

laforge gerrit-no-reply at lists.osmocom.org
Thu Jul 9 20:30:11 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19208 )


Change subject: add missing call to logging_vty_add_cmds() during startup
......................................................................

add missing call to logging_vty_add_cmds() during startup

Otherwise, the usual logging related VTY commands are absent.

Change-Id: I07038dfb204301bb1696ca312b2ec29671b86ae5
---
M src/osmo-e1d.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/08/19208/1

diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c
index 647b039..10d7a5e 100644
--- a/src/osmo-e1d.c
+++ b/src/osmo-e1d.c
@@ -37,6 +37,7 @@
 #include <osmocom/core/msgb.h>
 #include <osmocom/core/select.h>
 #include <osmocom/vty/telnet_interface.h>
+#include <osmocom/vty/logging.h>
 
 #include <osmocom/e1d/proto_srv.h>
 #include <osmocom/e1d/proto.h>
@@ -173,6 +174,7 @@
 
 	INIT_LLIST_HEAD(&e1d->interfaces);
 	vty_init(&vty_info);
+	logging_vty_add_cmds();
 	e1d_vty_init(e1d);
 
 	handle_options(argc, argv);

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

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I07038dfb204301bb1696ca312b2ec29671b86ae5
Gerrit-Change-Number: 19208
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200709/ad316a16/attachment.htm>


More information about the gerrit-log mailing list