<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <runtime>
    <generatePublisherEvidence enabled="false"/>
  </runtime>
  <system.net>
    <defaultProxy>
      <proxy usesystemdefault="true" bypassonlocal="true" />
      <bypasslist>
        <add address=".*" />
      </bypasslist>
    </defaultProxy>
  </system.net>
  <appSettings>
    <!-- Enables and disables the logging for RPC Client Access. -->
    <add key="ProtocolLoggingEnabled" value="true" />

    <!-- Specifies the folder in which log files will be generated. -->
    <add key="LogPath" value="%ExchangeInstallDir%\Logging\RPC Client Access\" />

    <!-- Specifies the max size in KB of a single log file can grow to before a new one is generated. -->
    <add key="PerFileMaxSize" value="10240" />

    <!-- Specifies the max size in KB of the entire directory of logs can grow to before the oldest log is deleted. -->
    <add key="MaxDirectorySize" value="1048576" />

    <!-- Specifies length of time in hours log files will be retained before being deleted. -->
    <add key="MaxRetentionPeriod" value="720" />

    <!-- Specifies if we need to switch log file each hour. -->
    <add key="ApplyHourPrecision" value="true" />

    <!-- 
          Specifies log tags to be logged. The value is comma delimited of ConnectDisconnect, Logon, Rops, OperationSpecific, Failures, ApplicationData, Throttling or None.
              ConnectDisconnect - logs connection establishment and close events.
              Logon - logs logon events.
              Rops - logs each executed ROP
              OperationSpecific - logs custom trace data
              Failures - logs RPC and ROP layers failures
              ApplicationData - logs data related to the connected application (mode, process name etc.)
              Throttling - logs throttling policy related information
              Warnings - non-fatal conditions that can sometimes be a manifestation of client-side problems.
      -->
    <add key="LoggingTag" value="ConnectDisconnect, Logon, Failures, ApplicationData, Warnings" />

    <!-- Budget action maximum elapsed times before logging.  Use 1000 years in minutes ("infinite") -->
    <add key="Connection_MaxTimeInMinutes" value="525600000"/>
    <add key="CAS_MaxTimeInMinutes" value="525600000"/>

    <!-- Enables retrieval of the HD photo in DOMT. -->
    <add key="HDPhotoEnabled" value="true" />

    <!-- Micro delay override values for RCA -->
    <add key="Rca.MaxMicroDelayMultiplier" value="5"/>
    <add key="Rca.MaxDelayInSeconds" value="5"/>
    <add key="Rca.MaxDelayedThreadsPerProcessor" value="5"/>

    <!-- Specifies if we need to EWS for inter-mailbox public folder hiearchy requests. If it is set to false, RPC handler is used. -->
    <add key ="UseEWSPrimaryHierarchyProvider" value="false"/>
  </appSettings>
</configuration>
