We're looking to watch nginx error logs for modifications but having some difficultly accounting for edge cases such as file truncations, etc.
It would be helpful to know if nginx writes its error log files on the fly or if it buffers writes to error logs. Buffering wouldnt make a lot of sense for error logs but could still be the case to ensure high performance in nginx.
We know that nginx buffers access log writes but cant currently find evidence that it does the same for error logs.
No, error log writes aren't buffered.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With