<p>osmith <strong>uploaded patch set #7</strong> to the change originally created by neels.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16212">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">drop error log for when a subscriber does not exist<br><br>Checking for existence of a subscriber and seeing that there is none is not<br>inherently an error. However, osmo-hlr currently logs on all occasions:<br><br>  DAUC ERROR Cannot read subscriber from db: MSISDN='1001': No such subscriber<br><br>This spams the ERROR log level. Particularly when a D-GSM setup does subscriber<br>existence checks for every incoming mslookup request, that potentially creates<br>constant ERROR logging.<br><br>The "No such subscriber" part comes from db_sel(), which might also return an<br>sqlite3_errmsg(). We still want those sqlite3_errmsg()es in the ERROR log.<br><br>Hence print an ERROR log only if db_sel() returns an rc != -ENOENT.<br><br>Change-Id: I5044e9b4519b948edc4e451cef0f7830d315619b<br>---<br>M src/db_hlr.c<br>M tests/db/db_test.err<br>2 files changed, 4 insertions(+), 30 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/12/16212/7</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16212">change 16212</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-hlr/+/16212"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5044e9b4519b948edc4e451cef0f7830d315619b </div>
<div style="display:none"> Gerrit-Change-Number: 16212 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>