Our app is built with Drupal 8.9 and uses the filelog module to write logs to files.
We have a bash script that looks like this:
for x in list:
do
drush -v ev "do_something('${x}')"
end
The do_something()
function finishes in about 1 second and generates around 1000 log messages.
After the function ran several times, only the logs generated by the first run got written to the log file. The other log messages appeared on the console but never went into the file.
What could be the cause of this problem, and how can I fix it?