<div dir="auto"><div>Hello all,<div dir="auto"><br></div><div dir="auto">  Here's a PR I want to ask community about: should NUT clients like upsc report (log!) or hide the infamous 'Init SSL without certificate database' message?</div><div dir="auto"><br></div><div dir="auto">  On one hand, it is a reminder that the setup is insecure (plaintext protocol, might be in an externally provided tunnel but we don't know that). On another, it is fairly annoying and if it does clutter syslog/journal from cron jobs etc. - is also somewhat toxic (causes I/O, uses space) if deployment owner is not going to do anything about it anyway for whatever reason (LAN, VPN, SSH tunnel...).</div><div dir="auto"><br></div><div dir="auto">  That PR proposes to hide the message by default, with debug level 1. One alternative is to use debug level 0 so it always pops up on stderr like now, but does not hit the syslog.</div><div dir="auto"><br></div>  WDYT?</div><div dir="auto"><br></div><div dir="auto">  If nobody vetoes it strongly, I plan to merge it in say a week.</div><div dir="auto"><br></div><div dir="auto">Jim <br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">tofurky</strong> <span dir="auto"><<a href="mailto:notifications@github.com">notifications@github.com</a>></span><br>Date: Fri, Sep 16, 2022, 01:07<br>Subject: [networkupstools/nut] Hide 'Init SSL without certificate database' message for upsc (PR #1662)<br>To: networkupstools/nut <<a href="mailto:nut@noreply.github.com">nut@noreply.github.com</a>><br>Cc: Subscribed <<a href="mailto:subscribed@noreply.github.com">subscribed@noreply.github.com</a>><br></div><br><br><p dir="auto">This can clutter up logs on things that call 'upsc', such as Munin plugins. Switch it to upsdebugx() so it's not always output to stderr.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href="https://github.com/networkupstools/nut/pull/1662" target="_blank" rel="noreferrer">https://github.com/networkupstools/nut/pull/1662</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/networkupstools/nut/pull/1662/commits/613185d4be1240531f46c60f870a2c219ca435b7" target="_blank" rel="noreferrer">613185d</a>  Hide 'Init SSL without certificate database' message for upsc</li>
</ul>

<h4 style="display:inline-block">File Changes </h4> <p style="display:inline-block">(<a href="https://github.com/networkupstools/nut/pull/1662/files" target="_blank" rel="noreferrer">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/networkupstools/nut/pull/1662/files#diff-821fd001277fb11e909bb718c7412b6086321d302ced2868a777c28e61442855" target="_blank" rel="noreferrer">clients/upsclient.c</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href="https://github.com/networkupstools/nut/pull/1662.patch" target="_blank" rel="noreferrer">https://github.com/networkupstools/nut/pull/1662.patch</a></li>
  <li><a href="https://github.com/networkupstools/nut/pull/1662.diff" target="_blank" rel="noreferrer">https://github.com/networkupstools/nut/pull/1662.diff</a></li>
</ul>

<p style="font-size:small;color:#666">—<br>Reply to this email directly, <a href="https://github.com/networkupstools/nut/pull/1662" target="_blank" rel="noreferrer">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAMPTFBHVWPFOMGUZFWVB3LV6OT3RANCNFSM6AAAAAAQN2WRTQ" target="_blank" rel="noreferrer">unsubscribe</a>.<br>You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAMPTFDOG5HQJK3EOSTQB33V6OT3RA5CNFSM6AAAAAAQN2WRTSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFD557MI.gif" height="1" width="1" alt=""><span style="color:transparent;font-size:0;display:none;overflow:hidden;opacity:0;width:0;height:0;max-width:0;max-height:0">Message ID: <span><networkupstools/nut/pull/1662</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>

</div></div></div>