[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logresolve



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 picture ?

How do you move the resolved log into the place of the unresolved one without stopping apache for long ?

maybe approximately:

	cd $RIGHT_DIR
	apachectl stop
	mv combined.log combined.log.tobe.resolved
	apachectl start
	logresolve < combined.log.tobe.resolved > combined.log.resolved
	apachectl stop
	cat combined.log >> combined.log.resolved
	mv combined.log.resolved combined.log
	apachectl start





Reply to: