Enabling logs to identify errors

Enable the following logs to help identify the cause of Exchange Integration failures.

  • Use the IIS log to check if a request reached IIS Web Server. Enable this log in IIS Manager.
  • Use the Tomcat access log to establish if the request reached Tomcat server. To enable this:
    1. Open <installed instance dir>\tomcat\conf\server.xml.
    2. Change
      Copy
      <!-- <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> -->

      to

      Copy
      <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
  • Use the detailed Sync Engine log to view detailed information about what happened in the Sync Engine, including detailed information about requests made from Sync Engine. To enable this:
    1. Open <installed instance dir>\tomcat\webapps\<Sync Engine folder>\WEB-INF\log4j.properties.
    2. Change
      Copy
      # defaultLog - default catch-all log4j.rootLogger=ERROR, defaultLog

      to

      Copy
      log4j.logger.httpclient.wire.header = DEBUG
      log4j.logger.org.apache.commons.httpclient = DEBUG
      # defaultLog - default catch-all
      log4j.rootLogger = ALL, defaultLog