Re: rotatelogs clean up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For logrotate, you need root access to setup....




                                                                           
             Michael                                                       
             McGlothlin                                                    
             <michaelm@swplumb                                          To 
             .com>                     users@xxxxxxxxxxxxxxxx              
                                                                        cc 
             14/11/2007 11:19                                              
             AM                                                    Subject 
                                       Re:  rotatelogs clean  
                                       up                                  
             Please respond to                                             
             users@xxxxxxxxxxx                                             
                   e.org                                                   
                                                                           
                                                                           
                                                                           




Does LogRotate not work?

http://kavlon.org/index.php/logrotate
> Hey Ben,
>
> Did you ever come up with an answer to your question below?
>
> Thanks,
> JT
>
>
> Benjamin Adams wrote:
>
>> Apache 1.3.33
>> I have:
>>          ErrorLog '|/usr/sbin/rotatelogs "/private/var/log/httpd/
>> sites/domain.com/error_log.%Y%m%d" 86400'
>>          CustomLog '|/usr/sbin/rotatelogs "/private/var/log/httpd/
>> sites/domain.com/access_log.%Y%m%d" 86400' combined
>>
>> in my conf so logs are created daily.
>> If I want them cleaned up weekly how would I do that?
>> Ben
>>
>> ---------------------------------------------------------------------
>> 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@xxxxxxxxxxxxxxxx
>>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>>
>>
>
>


--
Michael McGlothlin
Southwest Plumbing Supply


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux