Change in osmocom-bb[master]: layer23/l1ctl.c: replace printf() calls by LOGP
Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11057 ) Change subject: layer23/l1ctl.c: replace printf() calls by LOGP .. layer23/l1ctl.c: replace printf() calls by LOGP Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7 --- M src/host/layer23/src/common/l1ctl.c 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 78e340b..eedfb93 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -194,7 +194,7 @@ if (meas->dsc > meas->ds_fail) meas->dsc = meas->ds_fail; if (meas->dsc < meas->ds_fail) - printf("LOSS counter for CCCH %d\n", meas->dsc); + LOGP(DL1C, LOGL_INFO, "LOSS counter for CCCH %d\n", meas->dsc); if (meas->dsc > 0) break; meas->ds_fail = 0; @@ -216,7 +216,7 @@ if (meas->s > meas->rl_fail) meas->s = meas->rl_fail; if (meas->s < meas->rl_fail) - printf("LOSS counter for ACCH %d\n", meas->s); + LOGP(DL1C, LOGL_NOTICE, "LOSS counter for ACCH %d\n", meas->s); if (meas->s > 0) break; meas->rl_fail = 0; -- To view, visit https://gerrit.osmocom.org/11057 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7 Gerrit-Change-Number: 11057 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder (102)
Change in osmocom-bb[master]: layer23/l1ctl.c: replace printf() calls by LOGP
Harald Welte has posted comments on this change. ( https://gerrit.osmocom.org/11057 ) Change subject: layer23/l1ctl.c: replace printf() calls by LOGP .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/11057 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7 Gerrit-Change-Number: 11057 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder (102) Gerrit-Comment-Date: Sat, 22 Sep 2018 11:35:27 + Gerrit-HasComments: No Gerrit-HasLabels: Yes
Change in osmocom-bb[master]: layer23/l1ctl.c: replace printf() calls by LOGP
Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/11057 Change subject: layer23/l1ctl.c: replace printf() calls by LOGP .. layer23/l1ctl.c: replace printf() calls by LOGP Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7 --- M src/host/layer23/src/common/l1ctl.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/57/11057/1 diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 78e340b..eedfb93 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -194,7 +194,7 @@ if (meas->dsc > meas->ds_fail) meas->dsc = meas->ds_fail; if (meas->dsc < meas->ds_fail) - printf("LOSS counter for CCCH %d\n", meas->dsc); + LOGP(DL1C, LOGL_INFO, "LOSS counter for CCCH %d\n", meas->dsc); if (meas->dsc > 0) break; meas->ds_fail = 0; @@ -216,7 +216,7 @@ if (meas->s > meas->rl_fail) meas->s = meas->rl_fail; if (meas->s < meas->rl_fail) - printf("LOSS counter for ACCH %d\n", meas->s); + LOGP(DL1C, LOGL_NOTICE, "LOSS counter for ACCH %d\n", meas->s); if (meas->s > 0) break; meas->rl_fail = 0; -- To view, visit https://gerrit.osmocom.org/11057 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7 Gerrit-Change-Number: 11057 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy