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

Re: apache log "rotate"

2009/4/4 michal krajcirovic <konference@kraja.net>:
> Hello,
> creating access.log from apache2. I want at the same time (namely, every
> minute) without restart / reload apache start either log into another file,
> or rename the existing log to another file and log to a file with the same
> name. Given that the number of logs up to 30 lines per second, it is not
> possible to make a copy. Then I reset the file. And each new minute, net
> log, and doesnt lost any line.
> Any tips on how to? Any experience with this problem?
> thank you
> mk
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

I have got the same problem here,
I wonder if logrotate can do that. have not tried yet.


Reply to: