Change in ...libosmocore[master]: vty/telnet_interface.c: use DLGLOBAL logging sub-system

laforge gerrit-no-reply at lists.osmocom.org
Tue Jul 30 07:59:39 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libosmocore/+/14970 )

Change subject: vty/telnet_interface.c: use DLGLOBAL logging sub-system
......................................................................

vty/telnet_interface.c: use DLGLOBAL logging sub-system

Change-Id: I1564f4714a33d36792e4982deb8f19d1b740dc0c
---
M src/vty/telnet_interface.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c
index a1fc999..c16b0b1 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -169,7 +169,7 @@
 	int rc;
 
 	if (new_connection < 0) {
-		LOGP(0, LOGL_ERROR, "telnet accept failed\n");
+		LOGP(DLGLOBAL, LOGL_ERROR, "telnet accept failed\n");
 		return new_connection;
 	}
 
@@ -188,7 +188,7 @@
 
 	connection->vty = vty_create(new_connection, connection);
 	if (!connection->vty) {
-		LOGP(0, LOGL_ERROR, "couldn't create VTY\n");
+		LOGP(DLGLOBAL, LOGL_ERROR, "couldn't create VTY\n");
 		/* vty_create() is already closing the fd if it returns NULL */
 		talloc_free(connection);
 		return -1;

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1564f4714a33d36792e4982deb8f19d1b740dc0c
Gerrit-Change-Number: 14970
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190730/be2a6f4b/attachment.html>


More information about the gerrit-log mailing list