I made a cron entry to compress the logs. We keep them for 10 days. Each
log on this server is 940mb for the access and 430mb for the error. This
site is very busy and I like having logs for various reasons (dump users
uploading illegal content is one reason). The memory buffer clears out
in ar
On 3/5/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
Gotcha, do you use a script to compress the logs after the SIGUSR1 and
after waiting for a bit for apache to clear it's logging buffer (to not
have missing logs)?
No I don't. I don't even see why one would want to do this?
Newsyslog deletes ext
Gotcha, do you use a script to compress the logs after the SIGUSR1 and
after waiting for a bit for apache to clear it's logging buffer (to not
have missing logs)?
David Robillard wrote:
On 3/5/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
Thanks, David. I had already configured it like that the
On 3/5/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
Thanks, David. I had already configured it like that the first time
around after reading up on it a bit. Most articles/tips I have read say
to wait 10 minutes or so and then compress the logs with a shell script
in order to be sure Apache finished
Thanks, David. I had already configured it like that the first time
around after reading up on it a bit. Most articles/tips I have read say
to wait 10 minutes or so and then compress the logs with a shell script
in order to be sure Apache finished logging to the files. Another thing,
just to be
On 3/3/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
I see, thanks. Does the shell script you use automatically delete the
original logs after verbalizer or awstats makes it's own? I imagine the
ones those programs use are smaller in size?
No, the shell script does not delete any logs. Log rotatio
On 3/3/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
I see, thanks. Does the shell script you use automatically delete the
original logs after verbalizer or awstats makes it's own? I imagine the
ones those programs use are smaller in size?
No, the shell script does not delete any logs. Log rotatio
On 3/1/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
What I did was made a new log format to include the %v (it includes the
vhost name in the logs). Lowered my error log to just info. I also got
rid of the errorlog and customlog in my vhost brackets and setup
newsyslog to rotate the http-access.log
On 2/28/07, Peter Pluta <[EMAIL PROTECTED]> wrote:
Hey David, quick question. I found this while doing a bit of reading. Is
it safe for Syslogd to send a kill -HUP to apache? This site is
extremely high traffic and I wouldn't want it cutting off users during
the HUP to rotate the logs. I'm runnin
I have Apache making separate log files for each of my virtual hosts and
putting them in /home/vhostname/log. Rotate logs makes a new log every
24 hours, but the logs quickly add up and since the sites are fairly
busy the logs are at times over 5gigs. Is there any way to make rotate
logs delete th
Hi Peter,
Peter Pluta wrote:
> Any feedback, suggestions, or comments would be greatly appreciated.
you can use newsyslog for this, see man newsyslog.conf for more details.
I use e.g. the following line:
/home/http/*/logs/*.log 664 72*$M1D0 JG /var/run/httpd.pid
Best regards,
Matt
Peter Pluta wrote:
> I have Apache making separate log files for each of my virtual hosts and
> putting them in /home/vhostname/log. Rotate logs makes a new log every
> 24 hours, but the logs quickly add up and since the sites are fairly
> busy the logs are at times over 5gigs. Is there any way to
I have Apache making separate log files for each of my virtual hosts and
putting them in /home/vhostname/log. Rotate logs makes a new log every
24 hours, but the logs quickly add up and since the sites are fairly
busy the logs are at times over 5gigs. Is there any way to make rotate
logs delete
13 matches
Mail list logo