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/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9383
Change subject: chan_alloc: Print bts nr on chan alloc failure
......................................................................
chan_alloc: Print bts nr on chan alloc failure
Also change format of related debug message to match similar format than
gsm_ts_and_pchan_name().
Change-Id: Id4f875944c40fd862fc63feec82216c45d2e41c2
---
M src/libbsc/chan_alloc.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/83/9383/1
diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c
index d773382..4eccff0 100644
--- a/src/libbsc/chan_alloc.c
+++ b/src/libbsc/chan_alloc.c
@@ -338,7 +338,7 @@
struct gsm_lchan *lchan = NULL;
enum gsm_phys_chan_config first, first_cbch, second, second_cbch;
- LOGP(DRLL, LOGL_DEBUG, "bts-%d lchan_alloc(%s)\n", bts->nr, gsm_lchant_name(type));
+ LOGP(DRLL, LOGL_DEBUG, "(bts=%d) lchan_alloc(%s)\n", bts->nr, gsm_lchant_name(type));
switch (type) {
case GSM_LCHAN_SDCCH:
@@ -488,8 +488,8 @@
} else {
struct challoc_signal_data sig;
- LOGP(DRLL, LOGL_ERROR, "Failed to allocate %s channel\n",
- gsm_lchant_name(type));
+ LOGP(DRLL, LOGL_ERROR, "(bts=%d) Failed to allocate %s channel\n",
+ bts->nr, gsm_lchant_name(type));
sig.bts = bts;
sig.type = type;
--
To view, visit https://gerrit.osmocom.org/9383
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4f875944c40fd862fc63feec82216c45d2e41c2
Gerrit-Change-Number: 9383
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180530/be61851f/attachment.htm>