Order Lookup - Add Trace

If all other efforts have failed then adding a trace to the config file might be necessary

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

 

Open the location of the installation, typically

C:\Program Files (x86)\Flip Group\Message Transmitter

 

image-20240916-235334.png

 

Edit the nlog section in the MT.Transformer.WS.exe.config file to look like below, replacing C:/Temp/mt.log with the full path to where the log file should be written.

<?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>