Re: rotatelogs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/17/07, tom <pomarancde23@xxxxxxx> 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 EOF on stdin, the second than runs normally and receives the log messages. I was wondering if some had the same experience and found the solution how to start the instance only once.. I tried this with Debian as well as Centos.
>

No, you should just teach your logger to deal with this. It will be
necessary to deal with similar things in the case of server restarts
anyway. You can't expect your logger to live forever.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux