Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-14 Thread Zbigniew Szalbot
Hi Angelo, Agnello George: http://www-uxsup.csx.cam.ac.uk/~jw35/courses/apache/html/x1670.htm let me know if it works out for you !! Thanks a lot. Just one question. I assume logrotate must be scheduled from cron? -- Zbigniew Szalbot www.LCWords.com smime.p7s Description: S/MIME

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-13 Thread Zbigniew Szalbot
Hello, Thank you for such a prompt answer! I have some questions below. Agnello George: yes its possible you would just need to add in your /etc/logrotate.conf the following content : /websites/domain.com/logs/domain.com.sys.qualiproj.access_log

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-13 Thread Zbigniew Szalbot
Agnello George pisze: I would like to rotate logs every 20MB AND at the start of the month irrespective of the log size. Is it possible? yes its possible Is it really possible? It is not something I can find in man page so I'd appreciate your comment. Many thanks! Zbigniew Szalbot

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-13 Thread Agnello George
On 8/13/08, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Agnello George pisze: I would like to rotate logs every 20MB AND at the start of the month irrespective of the log size. Is it possible? yes its possible Is it really possible? It is not something I can find in man page so I'd

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-13 Thread Mark H. Wood
On Wed, Aug 13, 2008 at 06:41:28PM +0200, Zbigniew Szalbot wrote: Agnello George pisze: I would like to rotate logs every 20MB AND at the start of the month irrespective of the log size. Is it possible? yes its possible Is it really possible? It is not something I can find in man page so

[EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-12 Thread Zbigniew Szalbot
Hello, I fear it it not possible but I'll ask the experts anyway. Is it possible to rotate apache logs based on size and time? I would like to rotate logs every 20MB AND at the start of the month irrespective of the log size. Is it possible? Many thanks in advance! -- Zbigniew Szalbot

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-12 Thread Agnello George
On 8/13/08, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Hello, I fear it it not possible but I'll ask the experts anyway. Is it possible to rotate apache logs based on size and time? I would like to rotate logs every 20MB AND at the start of the month irrespective of the log size. Is it

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread jtkc
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

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
cc AM Subject Re: [EMAIL PROTECTED] rotatelogs clean Please respond to up

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread Michael McGlothlin
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

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread Michael McGlothlin
Not true. You just need to be able to read/write the log files. If you have things perm'd right it shouldn't be an issue. The link I provided explains running logrotate without root access. For logrotate, you need root access to setup -- Michael McGlothlin Southwest Plumbing Supply

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
AMSubject Re: [EMAIL PROTECTED] rotatelogs clean up Please respond

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
Subject Re: [EMAIL PROTECTED] rotatelogs clean up Please respond to [EMAIL PROTECTED

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread jtkc
That looks like a useful program, but it doesn't look like it supports AIX 5.1. I'm leaning more towards the solution that GKapitany suggested. Seems simple enough. Thanks to both of you for your suggestions! JT Michael McGlothlin-2 wrote: Does LogRotate not work?

[EMAIL PROTECTED] rotatelogs

2007-09-17 Thread tom
Hi, we need apache to log in a special way. For this we wrote an program that is executed by apache like this ErrorLog |/path/to/our/program. We noticed that the program is actually started twice. The first instance is closed right away and gets EOF on stdin, the second than runs normally and

Re: [EMAIL PROTECTED] rotatelogs

2007-09-17 Thread Joshua Slive
On 9/17/07, tom [EMAIL PROTECTED] wrote: Hi, we need apache to log in a special way. For this we wrote an program that is executed by apache like this ErrorLog |/path/to/our/program. We noticed that the program is actually started twice. The first instance is closed right away and gets

Re: [EMAIL PROTECTED] rotatelogs and nfs

2006-10-09 Thread Matus UHLAR - fantomas
On 06.10.06 18:12, Alessandro Astarita wrote: Hi all, I have a question about rotatelogs and nfs in a cluster environment. Should be safe to use rotatelogs on many servers that points to the same log file mounted via nfs? I'm not sure it's safe to log via nfs, I think it's unsafe to log from

[EMAIL PROTECTED] rotatelogs and nfs

2006-10-06 Thread Alessandro Astarita
Hi all, I have a question about rotatelogs and nfs in a cluster environment. Should be safe to use rotatelogs on many servers that points to the same log file mounted via nfs? Reading the log file created by rotatelogs, there are some broken entries. Is it possible to solve this problem? Thanks

[EMAIL PROTECTED] rotatelogs and gzip

2006-08-10 Thread Marc MENDEZ
Hi, I use rotate logs like with this line : CustomLog |/usr/sbin/rotatelogs /var/log/httpd/access_adagio_aspe_fr.log-%Y-%m-%d-%H_%M_%S 5M combined Is there a way to compress the old log with gzip for instance ? Should I use logrotate instead ? Thanks for your suggestions !

Re: [EMAIL PROTECTED] rotatelogs and gzip

2006-08-10 Thread SOPRO
Hi Marc, I use logrotate and it's work fine for me... :-) I created a separate file for apache: /etc/logrote.d/apache /var/log/apache/access_log /var/log/apache/error_log /var/log/apache/ssl_engine_log /var/log/apache/ssl_request_log { postrotate /usr/sbin/apachectl graceful

[EMAIL PROTECTED] rotatelogs and rewriteLog

2006-05-19 Thread Browne, Anthony A
Hello everyone, Is it possible to use rotatelogs with a rewriteLog on a Windows OS? If so, how. TIA - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] rotatelogs and rewriteLog

2006-05-19 Thread Joshua Slive
On 5/19/06, Browne, Anthony A [EMAIL PROTECTED] wrote: Hello everyone, Is it possible to use rotatelogs with a rewriteLog on a Windows OS? If so, how. I've never tried it, but I don't believe this is possible. But you shouldn't need to rotate the RewriteLog. This should be used for

RE: [EMAIL PROTECTED] rotatelogs and rewriteLog

2006-05-19 Thread Browne, Anthony A
: Re: [EMAIL PROTECTED] rotatelogs and rewriteLog On 5/19/06, Browne, Anthony A [EMAIL PROTECTED] wrote: Hello everyone, Is it possible to use rotatelogs with a rewriteLog on a Windows OS? If so, how. I've never tried it, but I don't believe this is possible. But you shouldn't need

[EMAIL PROTECTED] rotatelogs clean up

2006-04-03 Thread Benjamin Adams
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

Re: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Victor Trac
Try logrotate: http://iain.cx/src/logrotate/ On 2/8/06, Nehal Sangoi [EMAIL PROTECTED] wrote: Hi I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Thanks Nehal

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Nehal Sangoi
, Oliver [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 1:38 PM To: [EMAIL PROTECTED] Subject: AW: [EMAIL PROTECTED] RotateLogs in Apache 2.0 look at http://httpd.apache.org/docs/2.0/programs/rotatelogs.html there is a example CustomLog |bin/rotatelogs /var/logs/logfile 5M common

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Sheetal D
1:38 PMTo: [EMAIL PROTECTED]Subject: AW: [EMAIL PROTECTED] RotateLogs in Apache 2.0look athttp://httpd.apache.org/docs/2.0/programs/rotatelogs.htmlthere is a exampleCustomLog "|bin/rotatelogs /var/logs/logfile 5M" commonGreetsOliver-Ursprüngliche Nachricht-Von: Nehal Sangoi [mailt

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Joost de Heer
Nehal Sangoi wrote: Hi I tried this option. But it is working differently then what i am thinking for. I did follwoing entries in my httpd.conf file. CustomLog |/appl/apache/bin/rotatelogs /appl/apache/logs/mod_jk.log 5M The second arg to rotatelogs provided with Apache is the number of

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Oliver.Schaudt
The second arg to rotatelogs provided with Apache is the number of seconds after which the log gets rotated. So the above command rotates logs every 5 seconds. Joost The synpsis is rotatelogs [ -l ] logfile [ rotationtime [ offset ]] | [ filesizeM ] so you can only use it with seconds or

[EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-07 Thread Nehal Sangoi
Hi I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Thanks Nehal - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed

2005-10-06 Thread Greg Thomas
On Tue, 4 Oct 2005 19:31:09 +0200, Axel-Stéphane SMORGRAV [EMAIL PROTECTED] wrote: I guess one possibility would be to replace your piped log with command with CustomLog |( . /export/home/svnuser/apache/bin/envvars ; /export/home/svnuser/apache/bin/rotatelogs /var/log/access_log 86400 )

RE: [EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed

2005-10-06 Thread Boyle Owen
-Original Message- From: Greg Thomas [mailto:[EMAIL PROTECTED] ... A more elegant solution might be to recompile (or just re-link) rotatelogs with the link flag -R/usr/local/iplanet/lib. That should add the path to the binary's link path. That's no doubt the best solution.

RE: [EMAIL PROTECTED] rotatelogs on Windows

2005-10-06 Thread Joost de Heer
CustomLog | D:\Progra~1\Apache~1\Apache\bin\rotatelogs.exe logs\access%Y_%m_%d_%H_%M_%S.log 86400 -300 common One more thing...when I did this, the hour, minute and seconds always show as 00_00_00, as in access_2005_10_04_00_00_00.log. Is that what you guys are seeing too? I guess the

Re: [EMAIL PROTECTED] rotatelogs on Windows

2005-10-05 Thread William A. Rowe, Jr.
James Tu wrote: I'm trying to edit my httpd.conf to use rotatelogs for Apache running on Windows. I'm doing this and it doesn't like it. CustomLog | bin/rotatelogs logs/access.log 3600 common Did you mean bin/rotatelogs.exe ? If that doesn't lick it, what about using 'bin\rotatelogs.exe'?

RE: [EMAIL PROTECTED] rotatelogs on Windows

2005-10-05 Thread James Tu
Tools CCO-Command Center Operations 804.515.6298 -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 12:38 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rotatelogs on Windows James Tu wrote: I'm trying to edit

RE: [EMAIL PROTECTED] rotatelogs on Windows

2005-10-05 Thread Wagner, Aaron
PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] rotatelogs on Windows Thanks Aaron: After some experimenting...the following worked for me. I think most people will encounter this issue... What I had to do was to use truncated directory names! Here's the line from my

[EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed

2005-10-04 Thread Greg Thomas
Hi, I've recently compiled Apache 2.0.54 with the experimental mod_auth_ldap module. Since then, rotatelogs has failed with the following; ld.so.1: /export/home/svnuser/apache/bin/rotatelogs: fatal: libldap50.so: open failed: No such file or directory I've added /usr/local/iplanet/lib to the

RE: [EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed

2005-10-04 Thread Axel-Stéphane SMORGRAV
-Original Message- From: Greg Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 12:38 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed Hi, I've recently compiled Apache 2.0.54 with the experimental mod_auth_ldap module

[EMAIL PROTECTED] rotatelogs for errorlog won't work in 2.0.54

2005-09-11 Thread Tom Lee
Hello, for rotatelogs and httpd2 2.0.54 in solaris, Under my ssl.conf, ErrorLog |/usr/local/apache/bin/rotatelogs /usr/local/apache/logs/error_log_443 86400 won't work. Any access error log such as 404 won't show up in error_log_443. I have to use ErrorLog