httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fedora <fed...@ayni.com>
Subject Re: [users@httpd] Apache22 Logs rotation configuration
Date Thu, 17 Mar 2011 14:19:46 GMT
or use cronolog from http://cronolog.org

Apache config:

ErrorLog  "|/usr/sbin/cronolog /etc/httpd/logs/bgna_error_log.%Y%m"
CustomLog "|/usr/sbin/cronolog /etc/httpd/logs/bgna_access_log.%Y%m" 
combined

Adapt it to needs.


suomi

On 2011-03-17 14:03, Igor Galić wrote:
>
>
> ----- Original Message -----
>>
>>
>> Hello,
>>
>> I want to configure Apache22 under FreeBSD 8.1 to write a different
>> log starting at mid-night and rename the old log-date
>>
>> Can you give any ideas on how to do so? The safes possible method. I
>> had google but a little hesitant , I’ m a newbie.
>
> Use the system facillity, newsyslog, check out:
> http://www.freebsd.org/cgi/man.cgi?newsyslog
> http://www.freebsd.org/cgi/man.cgi?newsyslog.conf
> /etc/newsyslog.conf
>
>> Thanks,
>>
>> motty
>
> i
>

---------------------------------------------------------------------
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