Re: Rotating Log-Container
| From: | Olivier Guilyardi | Date: | Fri, 04 Feb 2005 13:38:37 +0000 |
| Subject: | Re: Rotating Log-Container | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35939@lists.php.net to get a copy of this message | ||
Ants Aasma wrote:
Perhaps a PHP_Lock package implementing synchronizing primitives between processes and/or a File_Atomic package with atomic file operations would be welcome in PEAR? Any thoughts?What about a locking stream wrapper ? Ie : $logFile = fopen('flock://mylog.txt','r'); I'm no wrapper wizard. Is this possible ? -- og