|
Search tenon.com
Thanks to:
|
|
iTools
Are you saying that I should add this line to my httpd.conf file?
What does the 2592000 mean?
What does the resulting 1028743200 stand for?
Thanks,
Dan
> Try this:
>
> CustomLog "|/usr/sbin/rotatelogs
> /var/log/httpd/archive/virtualhost1/virtualhost1 2592000" combined
>
> This will automatically rotatelogs and generate:
> /var/log/httpd/archive/virtualhost1/virtualhost1.1028743200
>
> You can run a shell script to rename the epoch time to the date each
> month, or look at the file
> by it's creation date. Hope this helps.
>
> regards,
> Eric
>
> On Wednesday, August 21, 2002, at 07:32 AM, Dan Tappin wrote:
>
>> Does anyone have a good script / method for rolling logs?
>>
>> I have setup custom logs for each of my VH's not I am looking to roll
>> the
>> logs each month. For example:
>>
>> /var/log/httpd/virtualhost1.log
>>
>> to:
>>
>> /var/log/httpd/archive/virtualhost1/virtualhost1-06012002.log
>> /var/log/httpd/archive/virtualhost1/virtualhost1-07012002.log
>> /var/log/httpd/archive/virtualhost1/virtualhost1-08012002.log
>>
>> Ect..
>>
>> Tenon has a perl log script but it also parses the log and splits the
>> VH's
>> out which I don't need to do.
>>
>> Thanks,
>>
>> Dan
---------
---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send
mailto://itools-request@xxxxxxxxxxxxxxx
with the subject: unsubscribe
Find searchable mailin list archives at:
http://itools.blackpepper.co.
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|