I'm having a similar problem. I have a single process logging to file and per the
File target documentation recommendations for best performance I am trying to set keepFileOpen=true and concurrentWrites=false. In this combination, however, NLog will not autoflush. If I switch the value on either attribute, autoflushing works. Referencing the
earlier linked post, I have async=true set on the targets element, and setting it to false does not affect anything either.