If all other efforts have failed then adding a trace to the config file might be necessary
Note |
---|
Warning Don’t leave this running long or it could create a large file |
The Message Transformer must have permissions to create files in the folder where the logs are being stored
...
Code Block |
---|
C:\Program Files (x86)\Flip Group\Message Transmitter |
Edit the nlog
section in the file MT.Transformer.WS.exe.config
by adding the following code to it <nlog>
<targets>
file to look like below, replacing Code Block C:/Temp/mt.log
with the full path to where the log file should be written.
Code Block |
---|
<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> ... <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" /> </configSections> <nlog> <extensions> <add assembly="Microsoft.ApplicationInsights.NLogTarget" /> </extensions> <targets> <target type="ApplicationInsightsTarget" name="aiTarget" /> <target name="logfile" type="File" fileName=" |
...
C:/Temp/mt.log" /> |
...
</targets> |
...
<rules> <logger name="*" minlevel="Trace" writeTo="aiTarget" /> <logger name="*" minlevel="Trace" writeTo="logfile" /> |
...
</rules> </nlog> </configuration> |