The Linux logrotate always works for anything I need. It's very flexible. I have an example on my weewx clone on GitHub in the watchdog util branch:
https://github.com/UberEclectic/weewx/tree/watchdog/examples/watchdog Regards, Leon -- Leon Shaner :: Dearborn, Michigan (iPhone) > On Jul 25, 2019, at 2:49 PM, gjr80 <gjroder...@gmail.com> wrote: > > The logwatch script needs to be modularised so that users can easily extend > the basic logwatch script functionality to cater for extensions and other > customisations the user may have installed. The current top to bottom > ‘if..elif..else’ structure does not lend itself to being easily extended in a > manner that survives upgrades etc. > > We are aware of the issue but it will probably take until we find the > roundtoit before we get around to it. > > Gary > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/99093fab-14af-4c1e-adf9-6d79599f460f%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/73E95A25-8757-48AA-8EAC-C044D2485766%40isylum.org.