Added log_message to server

Prints a message and then flushes the stdout fd.