Skip to content

Flush log file after every write

Jacob Vosmaer requested to merge log-flush into master

This fixes missing log messages from bin/gitlab-shell.

I only found this problem when testing on Linux, I didn't see it on macOS. I think what happens is that Ruby buffers the log data somewhere and Kernel#exec prevents it from doing actual writes to the file.

Edited by Jacob Vosmaer

Merge request reports