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
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
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
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
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
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
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
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
cc
AM
Subject
Re: [EMAIL PROTECTED] rotatelogs clean
Please respond to up
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
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
AMSubject
Re: [EMAIL PROTECTED] rotatelogs clean
up
Please respond
Subject
Re: [EMAIL PROTECTED] rotatelogs clean
up
Please respond to
[EMAIL PROTECTED
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?
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
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
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
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
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 !
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
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
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
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
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
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
, 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
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
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
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
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
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 )
-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.
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
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'?
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
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
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
-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
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
39 matches
Mail list logo