Hello,
The restart process with apache is that all the child processes are
shutdown -- either straight away (for a plain restart) or once they've
finished their current bit of work (fora graceful restart). As the child
process shuts down, it closes all the file descriptors used for logging.
On Thursday 17 July 2008 13:31:39 Zbigniew Szalbot wrote:
Yes, I am compressing them. Load is not an issue yet but I want to
optimize things that can be optimized. So I guess, rotate more often? I
like the idea of having one monthly log because it is then processed by
web stat software so it
Hello,
Matthew Seaman:
Do I have to rotate them myself via a script in crontab?
There are several ways to do this. Here's three in addition to the
script that someone else just posted:
* Use the 'G' option to newsyslog. 'G' says that the filename
field of newsyslog.conf actually
Zbigniew Szalbot wrote:
Hello,
Matthew Seaman:
Do I have to rotate them myself via a script in crontab?
There are several ways to do this. Here's three in addition to the
script that someone else just posted:
* Use the 'G' option to newsyslog. 'G' says that the filename
field of
Hello,
Matthew Seaman:
Correct. Although you may want to add '30' as the 8th field -- that means
'send signal 30 (SIGUSR1) to apache instead of SIGHUP' -- SIGUSR1 causes
apache to do a graceful restart rather than abruptly killing and restarting
everything:
Zbigniew Szalbot wrote:
Hello,
Matthew Seaman:
Correct. Although you may want to add '30' as the 8th field -- that
means
'send signal 30 (SIGUSR1) to apache instead of SIGHUP' -- SIGUSR1 causes
apache to do a graceful restart rather than abruptly killing and
restarting
everything:
Hello,
I am just wondering if for the software like Apache the log size matters
at all. I rotate httpd logs monthly and each domain has its own log. One
is over 145 MB in size. Just curious if I can keep it like that or
should rotate more often? I have enough space on HD so the log's size is
In response to Zbigniew Szalbot [EMAIL PROTECTED]:
Hello,
I am just wondering if for the software like Apache the log size matters
at all. I rotate httpd logs monthly and each domain has its own log. One
is over 145 MB in size. Just curious if I can keep it like that or
should rotate
Hi,
Bill Moran:
In response to Zbigniew Szalbot [EMAIL PROTECTED]:
Hello,
I am just wondering if for the software like Apache the log size
matters at all. I rotate httpd logs monthly and each domain has its
own log. One is over 145 MB in size. Just curious if I can keep it
like that or
On Thursday 17 July 2008, Zbigniew Szalbot wrote:
Hi,
Bill Moran:
In response to Zbigniew Szalbot [EMAIL PROTECTED]:
Hello,
I am just wondering if for the software like Apache the log size
matters at all. I rotate httpd logs monthly and each domain has its
own log. One is over 145
Mario Lobo wrote:
On Thursday 17 July 2008, Zbigniew Szalbot wrote:
What would be the proper way to set the rotation of apache logs in
newsyslog.conf when there are separate log files for each virtual host?
/var/log/httpd/*.log www:wheel 644 7 102400 * JG /var/run/httpd.pid 30
Do I have
Mario Lobo wrote:
What would be the proper way to set the rotation of apache logs in
newsyslog.conf when there are separate log files for each virtual host?
Do I have to rotate them myself via a script in crontab?
There are several ways to do this. Here's three in addition to the
script
On 7/17/08 7:10 AM, Matthew Seaman wrote:
* Use the rotatelogs program that comes with Apache. In this case,
you replace the logging configuration statements in https.conf
eg. instead of:
CustomLog /var/log/httpd-access.log combine
you have:
CustomLog
13 matches
Mail list logo