Re: [users@httpd] Apache22 Logs rotation configuration

2011-03-18 Thread Jørn
On Thursday 17 March 2011 19:33, Szász Csaba wrote: > Hi > > You can use rotatelogs Apache's build in tool also :) > > CustomLog "|bin/rotatelogs /var/logs/logfile.%Y-%m-%d 86400" common > > http://httpd.apache.org/docs/2.0/programs/rotatelogs.html > This is how I has configured it to rotate every

Re: [users@httpd] Apache22 Logs rotation configuration

2011-03-17 Thread Szász Csaba
Hi You can use rotatelogs Apache's build in tool also :) CustomLog "|bin/rotatelogs /var/logs/logfile.%Y-%m-%d 86400" common http://httpd.apache.org/docs/2.0/programs/rotatelogs.html 2011/3/17 fedora > or use cronolog from http://cronolog.org > > Apache config: > > ErrorLog "|/usr/sbin/crono

Re: [users@httpd] Apache22 Logs rotation configuration

2011-03-17 Thread fedora
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 Messag

Re: [users@httpd] Apache22 Logs rotation configuration

2011-03-17 Thread Igor Galić
- 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. U

Re: [users@httpd] Apache22 Logs rotation configuration

2011-03-16 Thread Tom Evans
On Wed, Mar 16, 2011 at 9:09 PM, motty.cruz wrote: > 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

[users@httpd] Apache22 Logs rotation configuration

2011-03-16 Thread motty.cruz
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. Thanks, motty