<p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647/3/src/utils/meas_json.c">File src/utils/meas_json.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647/3/src/utils/meas_json.c@176">Patch Set #3, Line 176:</a> <code style="font-family:monospace,monospace">            .name = "MEAS_JSON",</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I think we never user underscores or alike in names (I may be wrong tough). […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I do not know answers to those questions. I see more now what this is actually doing. Will copy a more simple logging init from somewhere.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647/3/src/utils/meas_json.c@178">Patch Set #3, Line 178:</a> <code style="font-family:monospace,monospace">           .loglevel = LOGL_DEBUG,</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">debug doesn't sound like a good default. Probably bettee using NOTICE here.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Sure.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647/3/src/utils/meas_json.c@191">Patch Set #3, Line 191:</a> <code style="font-family:monospace,monospace"> log_init(&log_info, NULL);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">where does this functon come from? It should be osmo_init_logging2(tall_ctx, &log_info);</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">OK I subsequently found osmo_init_logging, but FYI, the code i copied more or less was from <br>http://git.osmocom.org/libosmocore/tree/tests/fsm/fsm_test.c#n412</p><p style="white-space: pre-wrap; word-wrap: break-word;">Similar code is also found elsewhere.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647">change 17647</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/17647"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib3b3558723682defcee22e7ea2d8bf5c2cff1278 </div>
<div style="display:none"> Gerrit-Change-Number: 17647 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 28 Mar 2020 19:16:21 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>