httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Renouf" <eren...@opticominc.com>
Subject Re: [users@httpd] how to rotate log files
Date Wed, 22 Jan 2003 14:39:57 GMT
Check out the documentation on log rotation at
http://httpd.apache.org/docs/logs.html#rotation, I use cronolog myself and
it works quite well.

Cheers,
Eric

----- Original Message -----
From: "Xiongfei Wang" <wangxf@arches.uga.edu>
To: "Apache-List" <users@httpd.apache.org>
Sent: Wednesday, January 22, 2003 8:44 AM
Subject: [users@httpd] how to rotate log files


> I have redat 7.3 server with a apache web server running on it. i also
> have several virtual host on it
>
> the conf of one of them is:
>
> ------------------------------------------
> ############## VIRTUAL HOST IS APIDB-DEV ################
> <VirtualHost 126.100.45.25>
>         ServerName cryptodb-dev.ctegd.uga.edu
>         ServerAdmin jkissing@uga.edu
>         DocumentRoot "/var/www/crto-dev/html"
>         ErrorLog /var/log/httpd/crto-dev/error_log
>         CustomLog /var/log/httpd/crto-dev/access_log common
> <Directory "/var/www/crto-dev/html">
> Options Includes FollowSymLinks
> AllowOverride Limit AuthConfig
> Order allow,deny
> Allow from all
> </Directory>
>
> </VirtualHost>
> --------------------------------------------------
>
> The log file will be in /var/log/httpd/crto-dev/access_log
> because the access_log file is geting to big, i want to use following
> stategy to do deal with it.
> first week: all log info are written to access_log
> second week: move access_log to access_log1,
> third weed: move access_log1 to access+log2. move access_log toaccess_log1
> and so on...
>
> how can i acheive this gaol, do have to use crontab?
> Thanks
> J.P.
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message