I've set up a multiplayer server running in the cloud (AWS in this instance) and am wondering if anyone has run into (and solved) an issue I am seeing with logging - namely that the server does not automatically flush logs out when they occur, rather it seems to wait until they've reached some internal buffer and then write. I am using AWS CloudWatch to grab the log file as it's written, but unfortunately when the server starts, we just get the 0-byte file of an open but unflushed buffer. I found no server options that would seem to affect this. If the server shuts down, the file is flushed as expected.
Thoughts?