apache log generator fix