Re: How does error_log open the file?
| From: | mike | Date: | Tue, 05 Aug 2008 22:18:36 +0000 |
| Subject: | Re: How does error_log open the file? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39678@lists.php.net to get a copy of this message | ||
On 8/5/08, Johannes Schlüter <johannes@php.net> wrote:
> Default is to use the sapi's logging mechanism, for example when using
> the apache module apache writes it to it'S error log in whatever way
> Apache does that (I think open on server start and then write..)
>
> Else it either uses the syslog or open the error file for every message
> and writing itself...
I only run APC, suhosin, a couple others; none of which I believe
should do anything to the error_log facility. In theory then I can
point all the webservers to the same file on NFS and each of them will
open it and write to it as needed it sounds like.
> P.S. Have some patience when asking question to this list...
Sorry, I just saw a lot of other chatter and figured my question was
quite easy to answer.