diff --git a/irc/logger/logger.go b/irc/logger/logger.go index e639ab8c..3ac28bae 100644 --- a/irc/logger/logger.go +++ b/irc/logger/logger.go @@ -242,6 +242,7 @@ func (logger *singleLogger) Log(level Level, logType string, messageParts ...str if logger.MethodFile.Enabled { logger.fileWriteLock.Lock() logger.MethodFile.Writer.WriteString(fullStringRaw + "\n") + logger.MethodFile.Writer.Flush() logger.fileWriteLock.Unlock() } }