SOURCES: apache1.logrotate - rotate apache logs daily

Pawel Golaszewski blues w pld-linux.org
Pon, 17 Gru 2007, 11:15:49 CET


On Mon, 17 Dec 2007, glen wrote:
> Author: glen                         Date: Mon Dec 17 09:33:50 2007 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - rotate apache logs daily
> ================================================================
> Index: SOURCES/apache1.logrotate
> diff -u SOURCES/apache1.logrotate:1.10 SOURCES/apache1.logrotate:1.11
> --- SOURCES/apache1.logrotate:1.10	Mon Dec 10 10:45:31 2007
> +++ SOURCES/apache1.logrotate	Mon Dec 17 10:33:44 2007
> @@ -6,9 +6,13 @@
>  /var/log/apache/ssl_engine_log
>  /var/log/apache/ssl_request_log
>  {
> +	daily
> +	rotate 7

This overrides global settings and causes that you must change every file 
with rotate definition.
By default we should set it in one place. It should be fine to rotate 
all the logs daily by default.


-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


Więcej informacji o liście dyskusyjnej pld-devel-pl