NYCPHP Meetup

NYPHP.org

[nycphp-talk] error_log () internal lock mechanism?

Emmanuel Décarie emm at scriptdigital.com
Wed Nov 10 07:04:41 EST 2004


>Date: Tue, 9 Nov 2004 13:08:27 -0800
>From: "Hans Zaunere" <hans at nyphp.com>

>> Just to be sure, does error_log ($text, 3, $logpath); use an
>> internal  exclusive lock mechanism internally when writing to >>a
>> log file? I'm wary of corrupting my log files.
>
>Yes, I believe it handles it:
>
>http://cvs.php.net/co.php/php-src/main/main.c?r=1.614#373

Thanks Hans. Actually, when I said "internally", it was more a figure of
speech :).

Cheers
-Emmanuel
--
Emmanuel Décarie / Programmation pour le Web - Programming for the Web
<http://scriptdigital.com/> - Blog: <http://blog.scriptdigital.com> - AIM: scriptdigital



More information about the talk mailing list