Change in libosmocore[master]: rate_ctr: Improve logging

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.org
Fri Jul 20 09:49:09 UTC 2018


Pau Espin Pedrol has posted comments on this change. ( https://gerrit.osmocom.org/9753 )

Change subject: rate_ctr: Improve logging
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.osmocom.org/#/c/9753/3//COMMIT_MSG
Commit Message:

https://gerrit.osmocom.org/#/c/9753/3//COMMIT_MSG@10
PS3, Line 10: rate_ctr groups made it difficult to debug when an issue occurrs.
> can you elaborate here in the commitlog?  I see what your patch is doing, but I fail to understand w […]
Most users of this API already got the naming of the counters fixed nowadays, so it's better to log the ones still requiring change instead of silently mangling them.

I ended up doing this patch in order to figure out what was going on and fixing some rate_ctr API caller issues in some other project, because if I remember correctly the fact of mangling names after the hood was preventing me to understand easily what was going on and finding how to best solve the issue.

So I think this patch is going to be useful for people having similar issues in the future to what I had a few weeks ago.



-- 
To view, visit https://gerrit.osmocom.org/9753
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I992d165cab5ee6ca9b5b7e4a2210a0951954bd34
Gerrit-Change-Number: 9753
Gerrit-PatchSet: 3
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Harald Welte <laforge at gnumonks.org>
Gerrit-Comment-Date: Fri, 20 Jul 2018 09:49:09 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180720/c363a6ab/attachment.htm>


More information about the gerrit-log mailing list