Nlog Async and Log Sequence -


in nlog configuration, i've set

<targets async="true"> 

with understanding logging happens asynchronously application workflow. (and have noticed performance improvement, on email target). has me thinking log sequence though. understand async, 1 has no guarantee of order in os execute async work. if, in web app, multiple requests come in same method, each logging occurrence nlog, mean sequence in events appear in log target not sequence in log method called various requests?

if so, consequence of async 1 has live with? or there can keep have logs reflect correct sequence?

unfortunately have live with. if important maintain sequence you'll have run synchronously.

but if possible manually maintain sequence number in log message, solution.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -