Hi,

 

currently i am writeng a windows service and use the boost.log library for logfile creation. The serive should run long and I want to view the log files when the service is running. At the moment the logfile is written to the disk when the service ends and the file always has a size of 0 bytes. Is there a way to configure boost.log in a way that the log entries are written to disk immideately and that the logfile is not locked for reading by another application so that I can view my logfile?

 

Thanks a lot,

Georg