On Fri, Aug 25, 2006, Bill Campbell wrote:

> The attached patch extends the -d option of pflogsumm to use any
> date parseable with the perl Date::Parse module in addition to
> its normal ``today'' and ``yesterday'' options.  The option now
> takes arguments such as ``pflogsumm -d 2006-08-15 ...''.
>
> I wanted to be able to rerun pflogsumm against old postfix.log
> files to get some statistics, and found the standard options
> useless.  Running without the -d option on a typical daily log
> file would throw the Per-Hour reports off since they're averages
> per hour which is pretty useless if the daily log file has a few
> lines from the previous or following day.
>
> I think this should work with pretty much any version of postfix
> in the OpenPKG trees as this hasn't changed in quite a while.
> [...]

Good idea. I've merged our patch into the Postfix package
of OpenPKG-CURRENT: http://cvs.openpkg.org/chngview?cn=29820
Thanks for your contribution, Bill.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to