<p>laforge <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20296">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">logging: Change stderr + file target to use non-blocking write<br><br>So far, we used blocking, buffered fwrite() to write to stderr<br>and file targets.  This causes problems if there are [slow] consumers<br>causing delays, such as gnome-terminal (when the program is started<br>interactively) or systemd/journald (where we observe 64..128ms blocks on<br>stderr).<br><br>This patch introduces stderr/file based logging via write_queue<br>and osmo_select_main(), i.e. switch from glibc-buffered, blocking<br>to internally buffered, non-blocking writes.<br><br>Closes: OS#4311<br>Change-Id: Ia58fd78535c41b3da3aeb7733aadc785ace610da<br>---<br>M include/osmocom/core/logging.h<br>M src/logging.c<br>M src/select.c<br>3 files changed, 213 insertions(+), 14 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/96/20296/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20296">change 20296</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/libosmocore/+/20296"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia58fd78535c41b3da3aeb7733aadc785ace610da </div>
<div style="display:none"> Gerrit-Change-Number: 20296 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>