Performance: flush PHP output buffers before DB logging