pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/27768 )
Change subject: logging: use a different color tone for DLOOP
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> SIMTester by SRLabs has an interesting solution: you can specify via a command line argument whether […]
I'd rather add a "logging color <category> <color_format>"command or alike, (example "logging color loop \033[0;94m"), to let the user choose their own colors.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27768
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iadc9b8fb74ec17455435893a532c2f12e02cb804
Gerrit-Change-Number: 27768
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Apr 2022 15:00:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: laforge.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/27725 )
Change subject: l1sap: l1sap_chan_act(): alloc DTX FSM only for TCH
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> does this change anytthing in practice or is it merely cosmetic?
It does.
> We don't activate PDCH this way, so it is either a SDCCH or TCH?
Looks like we do:
src/common/rsl.c: rsl_rx_chan_activ() calls it for all kinds of lchans,
src/common/pcu_sock.c: pcu_rx_act_req() calls it for PDCH lchans.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27725
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ieb5728b7a9e7d7c58449deaa5a6c4d8755b6e213
Gerrit-Change-Number: 27725
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Wed, 13 Apr 2022 14:59:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment
Attention is currently required from: osmith.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27766 )
Change subject: Add Cell Identifier List to BSSMAP RESET
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-bsc/bsc_vty.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/27766/comment/536719f1_e76b4939
PS1, Line 3007: "reset-add-cil",
I would expand the acronym to cell-identifier-list. I don't think 'cil' is an established acronym we can expect people to know. And with tab-completion, there's no need to abbreviate it.
If we expect to add more information to the bssmap reset at some later point (I'm not sure), it might make sense to call it "bssmap-reset include-cell-identifier-list".
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27766
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I28e0f9497043e90f999b593602b7ffd812787430
Gerrit-Change-Number: 27766
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Apr 2022 14:50:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/27768 )
Change subject: logging: use a different color tone for DLOOP
......................................................................
logging: use a different color tone for DLOOP
Normal blue (34) is really hard to read on terminals with dark
background. Let's use light blue (94) instead.
Change-Id: Iadc9b8fb74ec17455435893a532c2f12e02cb804
---
M src/common/logging.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/common/logging.c b/src/common/logging.c
index 04025fc..9c458e8 100644
--- a/src/common/logging.c
+++ b/src/common/logging.c
@@ -116,7 +116,7 @@
[DLOOP] = {
.name = "DLOOP",
.description = "Control loops",
- .color = "\033[0;34m",
+ .color = "\033[0;94m",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
};
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27768
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iadc9b8fb74ec17455435893a532c2f12e02cb804
Gerrit-Change-Number: 27768
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: osmith.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/27768 )
Change subject: logging: use a different color tone for DLOOP
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> the usual problem with this is then that light blue works suboptimal with white backgrounds.
SIMTester by SRLabs has an interesting solution: you can specify via a command line argument whether you're using light terminal background, so the program will be using dark colors, and vice versa. We can add a logging parameter to libosmocore and allow setting it via the VTY.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27768
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iadc9b8fb74ec17455435893a532c2f12e02cb804
Gerrit-Change-Number: 27768
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Apr 2022 14:50:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment