]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/log.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / log.php
index 86d78cd2d123987cd892eb13f8590785b03fd90a..de19167bbb864294e07d8c0418ab51abe9fd7bf3 100644 (file)
@@ -68,7 +68,7 @@
                        $aOutdata = sprintf("[%s] %.4f %d %s \"%s\"\n",
                                            $hLog[0], $fEndTime-$hLog[5], $iNumResults,
                                            $hLog[4], $hLog[2]);
-                       file_put_contents(CONST_Log_File, $aOutdata, FILE_APPEND);
+                       file_put_contents(CONST_Log_File, $aOutdata, FILE_APPEND | LOCK_EX);
                }
 
        }