Looking at the sources I was surprised to see concurrency problems with
Multiple processes/threads seem to freely open, write and close the log file
bothering about any synchronization.
The function php_log_error() seems to be the function that finally writes to
the log file specified in php.ini.
This implementation could lead to a loss of logging information on heavy
Would that be correct ? If so, perhaps I (or someone else) could work on