Does the error log in php appear to be corrupted.

129 1

Most recent log records for the api are written in error_log($logstr, 3, $logpath);.
But when the logs are analyzed, the number of logs is much less than expected, and expected at least 20, 000 bars, but the records are only 2, 000, and.
Have someone ever met this. Is the error log something.

1 Answers

142 4

Do you use the following code as the same.

file_put_contents($logpath, $logstr, FILE_APPEND);

What's the actual concurrency. It's likely to be a problem with high concurrency.

...