[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Logging Apache Monthly



On Wed, Mar 07, 2001 at 06:16:57PM -0800, Sahil Gupta - NET4U wrote:
>I don't really know how to do this.  Are you able to help me?

Try this there  is a thing called cronolog ( www.ford-mason.co.uk/resources/cronolog)
this is very much like the apache rotatelogs  but keeps a tree of log files
like this 
/var/log/apache/20001/03/04/access.log
/var/log/apache/20001/03/07/access.log
/var/log/apache/20001/03/12/access.log

type this in http.conf

TransferLog "|bin/cronolog /var/log/apache/%Y/%m/%d/access.log
ErrorLog "|bin/cronolog /var/log/apache/%Y/%m/%d/access.log

for each virtual domain name.





---end quoted text---

-- 
Violence is a sword that has no handle -- you have to hold the blade.
................................
 Pankaj Kaushal <pankaj@xxxxxxx>
 Proud to use GNU <www.gnu.org>