Author: Dan
Date: 24-07-07 14:52
kaba1ah wrote:
> Hello,
>
> Could "The newsyslog solution"
> (http://www.freebsddiary.org/rotatelogs.php) be used for
> rotating logs for virtual hosts?
Yes
> Let's say I have ten virtual
> hosts and would like to rotate both -access and -error log
> files. Is it OK to SIGUSR1 for each log file?
I just do it for the last log file. If you're rotate files for 10 host at once, put the SIGUSR1 on the 10th file only. No need to signal Apache for every rotation.
--
Webmaster
|
|