NLog LogException seems to ignore the exception
Add or replace the ${exception} tag in the layout config to ${exception:format=tostring} <targets> <target name=”errorLogFile” xsi:type=”File” fileName=”errors.txt” layout=”${message} ${exception:format=tostring}”/> </targets>