[Nut-upsdev] Tiny suggestion for upslog.c

Charles Lepple clepple at gmail.com
Sat Dec 13 02:42:48 UTC 2014


On Dec 10, 2014, at 6:24 PM, Andy Juniper <ajuniper at freeuk.com> wrote:

> Try this - I couldn't see the file you reference but here's a paragraph for the manual page - probably fits in after service delays or log rotation.
> ON DEMAND LOGGING
> Sending a USR1 signal to a running 'upslog' process makes it wake from the current sleep and log immediately.  This is useful when triggered from a upssched event trigger (e.g. AT ONBATT or AT ONLINE) to ensure that an entry always exists, even if the power goes away for a period of time shorter than that specified by the -i argument.


Thanks! Merged (with Michal's typo fix): https://github.com/networkupstools/nut/commit/e7bf85b88e05a455e1b671ed7f81c70f69852826

-- 
Charles Lepple
clepple at gmail



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20141212/8ad7aab0/attachment.html>


More information about the Nut-upsdev mailing list