|
From: Rudner, B. <br...@ba...> - 2009-04-16 12:16:31
|
Since syslog-ng is the default logger on DL (IMHO) I send Apache-Logs to the logger like this: ErrorLog "| logger -t apache2 -p daemon.err"
Then there is no need to bother the apache of changes to the logfiles.
Greetings, Björn
-----Ursprüngliche Nachricht-----
Von: Heiko Zuerker [mailto:he...@zu...]
Gesendet: Donnerstag, 16. April 2009 14:06
An: dev...@li...
Betreff: Re: [Devil-Linux-discuss] /etc/logrotate.d/httpd
I checked against 1.3 and there's no /var/run/httpd.pid file when
apache is running.
I don't have any 1.2 system anymore, can someone please check?
Heiko
Quoting Bradlee Landis <bra...@gm...>:
> 1.2. It might be good to modify it to match the other scripts. I made
> it to where it would work for me.
>
> On Tue, Apr 14, 2009 at 7:11 AM, Heiko Zuerker <he...@zu...> wrote:
>> Hey,
>>
>> Quoting Bradlee Landis <bra...@gm...>:
>>
>>> I took this from redhat. It seems would be good to have in DL:
>>>
>>>
>>> /var/log/apache2/*log {
>>> missingok
>>> notifempty
>>> sharedscripts
>>> postrotate
>>> /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2>
>>> /dev/null || true
>>> endscript
>>> }
>>
>> On which version of DL did you test it? 1.2? 1.3?
>>
>> --
>>
>> Regards
>> Heiko Zuerker
>> http://www.devil-linux.org
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-com
>> _______________________________________________
>> Devil-linux-discuss mailing list
>> Dev...@li...
>> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
>>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Devil-linux-discuss mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
>
--
Regards
Heiko Zuerker
http://www.devil-linux.org
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Devil-linux-discuss mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss
____________________________________________________________________________
baulogis GmbH
Zamdorfer Str. 100
81677 München / Munich
Deutschland / Germany
www.baulogis.com
Geschäftsführer / Managing Director: Thomas Bachmaier
HRB 133832, Amtsgericht München
Ust-ID: DE 212 020 193
Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt.
Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten,
so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung,
Vervielfältigung oder Wiedergabe des Inhalts dieser E-Mail unzulässig ist.
Bitte setzen Sie sich in diesem Fall mit dem Absender der E-Mail in Verbindung (br...@ba...).
|