Attention is currently required from: dexter.
fixeria has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/pysim/+/41890?usp=email )
Change subject: pySimLogger: user __name__ of the module when creating a new logger
......................................................................
Patch Set 1:
(4 comments)
File contrib/csv-to-pgsql.py:
https://gerrit.osmocom.org/c/pysim/+/41890/comment/f4052dc8_95f1a433?usp=em… :
PS1, Line 15: __name__
See my comment in `pySim-shell.py`.
https://gerrit.osmocom.org/c/pysim/+/41890/comment/f3d50379_6033ad63?usp=em… :
PS1, Line 38: log = PySimLogger.get(__name__)
This becomes an equivalent of the logger above, and thus can be removed?
File pySim-shell.py:
https://gerrit.osmocom.org/c/pysim/+/41890/comment/404036ff_6b74e1e8?usp=em… :
PS1, Line 77: __name__
Since this is the top level of the hierarchy, it's actually desirable to set the module name manually (e.g. `"pySim-shell"`) here. Otherwise it will show up as `__main__` in logging.
Same applies to `pySim-trace.py` and others, but AFAICS they're not using logging yet.
File pySim/card_key_provider.py:
https://gerrit.osmocom.org/c/pysim/+/41890/comment/02487ed1_7f3e06e2?usp=em… :
PS1, Line 41: PySimLogger.get
You no longer need to call `PySimLogger.get` here nor in other modules of the `pySim` namespace. Instead, you can do the following:
```
import logging # already imported above
log = logging.getLogger(__name__)
```
Being part of the module hierarchy, this module inherits logging configuration of the parent loggers. The only place where you'll still need to use the `PySimLogger` API is top-level scripts (entry-points) like `pySim-shell.py`.
This can be done in a separate patch.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41890?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I49a9beb98845f66247edd42ed548980c97a7151a
Gerrit-Change-Number: 41890
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 20 Jan 2026 13:32:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: pespin.
fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bts/+/41885?usp=email )
Change subject: tests: Use log_set_category_filter() libosmocore API
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41885?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I70d885110d5dd8295136c16f2365efeed443ff1a
Gerrit-Change-Number: 41885
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 20 Jan 2026 13:10:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Timur Davydov, laforge.
pespin has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/libosmocore/+/41887?usp=email )
Change subject: Detect struct in6_addr.s6_addr32 via AC_CHECK_MEMBER and use HAVE_IN6_ADDR_S6_ADDR32 instead of __linux__.
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41887?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I29385fde0f1e6c6cc73cd1488befdef9040cc28e
Gerrit-Change-Number: 41887
Gerrit-PatchSet: 1
Gerrit-Owner: Timur Davydov <dtv.comp(a)gmail.com>
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-Attention: Timur Davydov <dtv.comp(a)gmail.com>
Gerrit-Comment-Date: Tue, 20 Jan 2026 13:08:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes