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

Logging is disabled by default.
You will need logging if you are troubleshooting and we ask you to send us a log for mobile.

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 the existing config before editing!!!
 
 Example: 

<code><configuration>

<system.diagnostics>


</system.diagnostics>
</configuration></code>


Add the following, to EdgeTransport.exe.config::

<code><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></code>


Create 'TEMP' if not existing in C Drive. "C:\TEMP\EMSTransportAgent.log"

This path must be accessible, by the NETWORK SERVICE system account, with WRITE Permissions and not Read Only protected.

The system.diagnostics section must be placed inside of the <configuration> section (see example above)

Add it to the end of the file, right before final </configuration> tag.
Now, restart the edgetransport service and you will now have logging.

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

Quick Demo  

Did you find it helpful? Yes No

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