[PATCH] osmo-pcu[master]: Log socket path on connection

Max gerrit-no-reply at lists.osmocom.org
Fri Jan 6 16:21:35 UTC 2017

Review at  https://gerrit.osmocom.org/1536

Log socket path on connection

Change-Id: I81c5c1068a8b59ee30399dac90b0f7e730fc19f4
M src/osmobts_sock.cpp
1 file changed, 2 insertions(+), 1 deletion(-)

  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/36/1536/1

diff --git a/src/osmobts_sock.cpp b/src/osmobts_sock.cpp
index f589dc2..d542b66 100644
--- a/src/osmobts_sock.cpp
+++ b/src/osmobts_sock.cpp
@@ -282,7 +282,8 @@
 		return rc;
-	LOGP(DL1IF, LOGL_NOTICE, "osmo-bts PCU socket has been connected\n");
+	LOGP(DL1IF, LOGL_NOTICE, "osmo-bts PCU socket %s has been connected\n",
+	     local.sun_path);
 	pcu_sock_state = state;

To view, visit https://gerrit.osmocom.org/1536
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I81c5c1068a8b59ee30399dac90b0f7e730fc19f4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>

More information about the gerrit-log mailing list