Nlog Async and Log Sequence
In my nlog configuration I installed
<targets async="true"> with the understanding that all logging now occurs asynchronously with the application workflow. (and I noticed a performance improvement, especially by email). However, I was thinking of a protocol sequence. I understand that using async does not guarantee the order in which the OS will execute async. Therefore, if in my web application several requests are included in the same method, each of which registers their appearance in NLog, does this really mean that the sequence in which events are displayed in my target log chart will not necessarily be a sequence In which journal method was called by various requests?
If so, is this just a consequence of the asynchrony with which to live? Or can I do something so that my logs display the correct sequence?