I have been using newsyslog for Apache logs for quite a while. They provide better management than rotatelog and has a centralized view for configuration files. The only problem I have, is that I get
Jan 27 00:00:00 fred newsyslog[4489]: logfile turned over
all the time, and Apache would stop recording anything after the log has been turned over. Luckily, I found this on FreeBSD Diary that solves my problem. Let's see if this works out.
try cronolog?
回覆刪除newsyslog actually works quite well as mentioned in FreeBSD Diary. I'd probably just keep using it. Thanks for the suggestion.
回覆刪除