[analog-help] Execution via webpage question.
Aengus
analog07 at eircom.net
Fri Mar 23 13:13:25 PST 2007
Henry Silvia <hgs at visualspectrum.com> wrote:
Why isn't the TO
> & FROM used to reduce the load (why read files that are outside the
> requested range?)
You told Analog to read *.log, and it did. If you only want it to read a
subset of the logs, based on the dates you provide, then put the logic
into your wrapper application to specify which logfiles fall between
those dates.
Analog can't assume that the names of the logfiles include useful date
information - some web servers rotate daily, some weekly, some rotate
when the file hits a certain size.
Note that if you have a lot of logfiles, you may improve performance
somewhat by zipping the logs - the CPU overhead of unzipping the files
pretty tiny, and you can cut your file I/O by 90-95%.
Aengus
More information about the analog-help
mailing list