Flush any buffered log messages to the server main log file. N.B. The current time is used as the log message time stamp. It is assumed that the caller invokes the FlushLogMessages() function sufficiently often that the time stamp is "close enough" to meet.