On Wed, Aug 27, 2014 at 01:52:19PM +0200, Christian Weisgerber wrote:
> Add httpd default log files to the rotation.
> 
> Index: newsyslog.conf
> ===================================================================
> RCS file: /cvs/src/etc/newsyslog.conf,v
> retrieving revision 1.32
> diff -u -p -r1.32 newsyslog.conf
> --- newsyslog.conf    26 Aug 2014 19:33:48 -0000      1.32
> +++ newsyslog.conf    27 Aug 2014 11:49:40 -0000
> @@ -14,3 +14,5 @@
>  /var/log/wtmp                                644  7     *    $W6D4 B
>  /var/log/xferlog                     640  7     250  *     Z
>  /var/log/pflog                               600  3     250  *     ZB "pkill 
> -HUP -u root -U root -t - -x pflogd"
> +/var/www/logs/access.log             644  4     *    $W0   Z "pkill -USR1 -u 
> root -U root -x httpd"
> +/var/www/logs/error.log                      644  7     250  *     Z "pkill 
> -USR1 -u root -U root -x httpd"

ok

Reyk

Reply via email to