[Nut-upsuser] How verbose should NUT be by default?

Jim Klimov jimklimov+nut at gmail.com
Mon Jan 9 17:15:57 GMT 2023


Thanks,

  A "-q" (or an envvar to same effect) is another way to skin the cat, as
discussed in that ticket and now followed-up by
https://github.com/networkupstools/nut/issues/1789

  It still leaves open the question of whether default runs of NUT programs
- especially as services or shutdown hooks - should be that quiet (whether
because C code is changed unconditionally, or conditionally with such an
option or envvar, or by redirecting "noise" from scripts to /dev/null)?..
Say, for `upsmon -K` example, is it useful to know that "power down was NOT
requested" and why (may be misconfig, e.g. flag file left on an unmounted
filesystem) - or is it indeed useless noise for the dozens of "ordinary"
reboots and shutdowns which happen not because of a power failure?

Jim


On Mon, Jan 9, 2023 at 6:01 PM Lee Damon <lvd at uw.edu> wrote:

> Verbosity is useful. How about adding a -q for quiet operation.
>
> nomad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230109/fef74c67/attachment.htm>


More information about the Nut-upsuser mailing list