Email Signature Platform - Help Desk and Knowledge Base

IT Pro: How do I enable logging for the Exchange Mobile Gateway?

When you made it through the KBs (2/2), it means that the Exchange Connector (EC) is setup and working correctly.

If the default signature is not applied (and you remembered to create Plain Text version), the time has come to troubleshoot your Exchange Gateway (EG).

You enable logging and check if the log contains any errors after sending some emails. Logging is disabled by default.

When you submit a support ticket, we need the log in order to be able to assist.

How to enable logging

To do so, you will need to add a system.diagnostics section to EdgeTransport.exe.config (use search, it is in your exchange server's bin directory).

Make sure to save existing config before editing!!!

EdgeTransport.exe.config

Add the following, to EdgeTransport.exe.config: 

<system.diagnostics>
<sources>
<source name="EMSTransportAgent" switchName="SourceSwitch"
switchType="System.Diagnostics.SourceSwitch">
<listeners>
<remove name="Default"/>
<add name="tempFile"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="C:\TEMP\EMSTransportAgent.log"
traceOutputOptions="ProcessId, DateTime"/>
</listeners>
</source>
</sources>
<switches>
<add name="SourceSwitch" value="Verbose"></add>
</switches>
<trace autoflush="true" indentsize="4"/>
</system.diagnostics>

 
Now replace "C:\TEMP\EMSTransportAgent.log" with your valid path. 

This path must be accessible, by the NETWORK SERVICE system account, with WRITE Permissions.

The system.diagnostics section must be inside of the <configuration> section

Add it to the end of the file, right before final <configuration> tag.

Now, restart the edgetransport service (named "Microsoft Exchange Transport" in the Windows Services management console) and you will now have logging. 

Perform the tasks that Support suggested and then remove the log again, as soon as possible. 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.