Coppermill Coppermill - 1 year ago 91
C# Question

Can NLog store the current Thread user

I am using NLog to provide all my logging, do you know if it is possible to store the current Thread user details, by changing the NLog.Config file?

Jim Jim
Answer Source

Here you go: ${windows-identity}

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download