X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ccaf7fa47fc7b02927ca4fe0f717e9e5b725ab9d..fa7730d4af7c330d5443c6ae32f5ab73c48bf7a3:/lib/log.php?ds=sidebyside diff --git a/lib/log.php b/lib/log.php index 86d78cd2..de19167b 100644 --- a/lib/log.php +++ b/lib/log.php @@ -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); } }