NLog

Sep 6, 2015 at 9:20 AM
Hello,

So I have just started using your epic LogViewer, but I'm wondering how I can get all the information (notably the user name) to appear in this log viewer?

Code snippet for my output log from nlog.conf
 <target name ="xmlFileLog" xsi:type="File" fileName="tracelog.xml" layout="${log4jxmlevent:includeSourceInfo=true:includeCallSite=true:includeMDC=true:appInfo=true:includeNDC=true:includeNLogData=true:includeIdentity=true} ${windows-identity:userName=true:domain=true}"/>
I added the ${windows-identity:userName=true:domain=true} but it doesn't work. Anyone have the solution?