you need to this attribute when creating the file log
keywords::auto_flush = true
that way log entrys get written immediately. by default, the file logger seems to write to file when it goes out of scope, or at some other mysterious point, the documentation doesn´t mention anything about