Dan MacNeil wrote:
Right now it is sometimes taking longer than 24 hours to run reports
(analog) on our apache logs.
Does anyone have experience/opinions on putting logresolve into the
How do you move the resolved log into the place of the unresolved one
without stopping apache for long ?
mv combined.log combined.log.tobe.resolved
logresolve < combined.log.tobe.resolved > combined.log.resolved
cat combined.log >> combined.log.resolved
mv combined.log.resolved combined.log
As far as I know, apache will continue writing to a logfile if it's moved to
another location on the same filesystem; you can then use "apachectl graceful"
to have apache open new logfiles.