﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>
  <appSettings>
    <!-- services -->
    <add key="DataService_AssemblyPath" value="Crossroads.ProxyService.dll" />
    <add key="DataService_AssemblyPath_IsAbsolute" value="N" />
    <add key="FamilyDataService_ClassName" value="Crossroads.ProxyService.FamilyDataServiceWrapper" />
    <add key="InventoryDataService_ClassName" value="Crossroads.ProxyService.InventoryDataServiceWrapper" />
    <add key="CommonDataService_ClassName" value="Crossroads.ProxyService.CommonDataServiceWrapper" />
    <add key="DocumentGenerationDataService_ClassName" value="Crossroads.ProxyService.DocumentGenerationDataServiceWrapper" />
    <add key="DataSyncDataService_ClassName" value="Crossroads.ProxyService.DataSyncDataServiceWrapper" />
    <add key="VersioningDataService_ClassName" value="Crossroads.ProxyService.VersioningDataServiceWrapper" />
    <add key="CertificationDataService_ClassName" value="Crossroads.ProxyService.CertificationDataServiceWrapper" />
    <add key="CarePlanDataService_ClassName" value="Crossroads.ProxyService.CarePlanDataServiceWrapper" />
    <add key="LoginDataService_ClassName" value="Crossroads.ProxyService.LoginDataServiceWrapper" />
    <add key="SecurityDataService_ClassName" value="Crossroads.ProxyService.SecurityDataServiceWrapper" />
    <add key="FoodDataService_ClassName" value="Crossroads.ProxyService.FoodDataServiceWrapper" />
    <add key="VendorDataService_ClassName" value="Crossroads.ProxyService.VendorDataServiceWrapper" />
    <add key="RedemptionDataService_ClassName" value="Crossroads.ProxyService.RedemptionDataServiceWrapper" />
    <add key="AppointmentDataService_ClassName" value="Crossroads.ProxyService.AppointmentDataServiceWrapper" />
    <add key="FinanceDataService_ClassName" value="Crossroads.ProxyService.FinanceDataServiceWrapper" />
    <!-- security -->
    <add key="CrossroadsSecureServiceEncryptionKey" value="QcYSBqR9qxJUCpoo1GLdakyttBX69du7DSnrYjJdrK4=" />
    <add key="CrossroadsPhalconServiceUriEncryptionKey" value="XRn5$!~j" />
    <add key="FamilyDataServiceMockFileLocation" value="\\storageacctwicncprod.file.core.windows.net\files\xr-files\Cnds\" />
    <add key="SecurityDataServiceMockFileLocation" value="\\storageacctwicncprod.file.core.windows.net\files\xr-files\ActiveDirectory\" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <!-- offline configuration -->
    <add key="IsHubServerFileName" value="IsHub.dat" />
    <add key="OfflineServerFileName" value="OfflineServerName.dat" />
    <!-- logging -->
    <add key="LogSaver_AssemblyPath" value="Crossroads.Logging.dll" />
    <add key="LoggingQueuePath" value=".\private$\nc-xr-logger-Production-NC" />
    <add key="LogSaver_ClassName" value="Crossroads.Clinic.ViewModel.LogSaver" />
    <add key="LogSaver_AssemblyPathIsAbsolute" value="N" />
    <!-- caching -->
    <add key="CacheSettings" value="Crossroads.Clinic.View.Dashboard,10,30,True|Crossroads.Clinic.View.Shell,10,30,True|Crossroads.Model.Child,10,30,True|Crossroads.Model.Woman,10,30,True|Crossroads.Model.Family,10,300,True|Crossroads.Model.Clinic,5,600,True|Crossroads.Model.CachingTest,10,30,True|Crossroads.Model.CachingTest2,5,180,True" />
    <add key="CacheCleanupInterval" value="600" />
    <add key="CacheMaximumDiskSpaceUsage" value="60" />
    <add key="CacheUtilizesIsolatedStorage" value="Y" />
    <!-- login/account -->
    <add key="PrepopulateLoginName" value="true" />
    <add key="PasswordRetrievalUrl" value="https://ncid.nc.gov" />
    <add key="PasswordChangeUrl" value="https://ncid.nc.gov" />
    <!-- resources/files -->
    <add key="AssessmentQuestionTypes_XmlPath" value="Resources\Xml\AssessmentQuestionTypes.xml" />
    <add key="RightsandResponsibilities_TextPath" value="Resources\Text\RightsandResponsibilities.txt" />
    <add key="ReleaseForm_TextPath" value="Resources\Text\ReleaseAgreement.txt" />
    <add key="ReturnAgreement_TextPath" value="Resources\Text\ReturnAgreement.txt" />
    <add key="UploadedDirectory" value="\\storageacctwicncprod.file.core.windows.net\files\xr-files" />
    <!-- urls -->
    <add key="HelpSystemURL" value="https://crossroads-wic.ncdhhs.gov/help/" />
    <add key="WicDefaultLogoPath" value="https://crossroads-wic.ncdhhs.gov/wcf/Images/CrossroadsHeaderLogo.png" />
    <!-- reports -->
    <add key="ReportsViewerUrl" value="https://reportproxy-wic.ncdhhs.gov/proxy/View/Reporting.aspx?" />
    <add key="CrossroadsReportsUriEncryptionKey" value="XRn5$!~j" />
	  <add key="ReportsBrowser" value="MSEdge.exe" />
    <add key="ReportSearchPath" value="/NC/production-nc" />
    <!-- update -->
    <add key="ApplicationUpdateStartHour" value="19" />
    <add key="ApplicationUpdateTimeSpan" value="11" />
    <!--cash value benefit override-->
    <add key="CvbOverrideStartDate" value="9/30/2022" />
    <add key="CvbOverrideEndDate" value="10/30/2023" />
    <add key="CvbOverrideQuantity" value="2500" />
    <add key="CvbOverrideQuantity2" value="4400" />
    <add key="CvbOverrideQuantity3" value="4900" />
    <add key="CvbOverrideQuantity4" value="7350" />
    <!-- other -->
    <add key="ConfigurationRefreshWaitTimeInMinutes" value="120" />
    <add key="ShowClientType" value="false" />
	<add key="UseLegacyLogin" value="false" />
	<add key="UseNCIDLogin" value="true" />
	<add key="OidcAuthority" value="https://id-ncuat.cnpmis.gcomdev.com/" />
	<add key="OidcClientId" value="crossroads-xbap-client" />
	<add key="OidcRedirectUri" value="http://127.0.0.1:55500/" />
	  
  </appSettings>
  <system.diagnostics>
    <sources>
      <source name="DefaultSource" switchName="DefaultSwitch">
        <listeners>
          <add name="FileLog" />
          <!-- uncomment to write to the application event log -->
          <!--<add name="EventLog"/>-->
        </listeners>
      </source>
      <source name="System.ServiceModel" switchValue="Information" propagateActivity="true">
        <listeners>
          <add name="ServiceModelTraceListener" type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" initializeData="C:\logs\wcf-client.svclog" />
        </listeners>
      </source>
    </sources>
    <switches>
      <add name="DefaultSwitch" value="Information" />
      <!--  0-off, 1-error, 2-warn, 3-info, 4-verbose -->
      <add name="SyncTracer" value="1" />
    </switches>
    <trace autoflush="true">
      <listeners>
        <add name="TestListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\SyncTracerLog.txt" />
		<add name="textWriterTraceListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="logs/log4nettxttrace.log" />
      </listeners>
    </trace>
    <sharedListeners>
      <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
      <!-- uncomment to write to the application event log -->
      <!-- <add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="Crossroads" />  -->
    </sharedListeners>
  </system.diagnostics>
  <system.serviceModel>
    <bindings>
      <customBinding>
        <binding name="BinaryHttpBindingForFileService">
          <binaryMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" maxSessionSize="2048">
            <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          </binaryMessageEncoding>
          <security allowInsecureTransport="True" authenticationMode="UserNameOverTransport">
            <localClientSettings maxClockSkew="Infinite" />
            <localServiceSettings maxClockSkew="Infinite" />
            <secureConversationBootstrap>
              <localClientSettings maxClockSkew="Infinite" />
              <localServiceSettings maxClockSkew="Infinite" />
            </secureConversationBootstrap>
          </security>
          <httpsTransport manualAddressing="false" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" maxBufferSize="2147483647" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Streamed" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" />
        </binding>
        <binding name="HttpBindingSecureTimeSkew" closeTimeout="10:05:00" openTimeout="10:01:00" receiveTimeout="10:01:00" sendTimeout="10:01:00">
          <binaryMessageEncoding maxReadPoolSize="2147483647" maxWritePoolSize="2147483647" maxSessionSize="2048">
            <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="2147483647" />
          </binaryMessageEncoding>
          <security authenticationMode="UserNameOverTransport">
            <localClientSettings maxClockSkew="Infinite" />
            <localServiceSettings maxClockSkew="Infinite" />
            <secureConversationBootstrap>
              <localClientSettings maxClockSkew="Infinite" />
              <localServiceSettings maxClockSkew="Infinite" />
            </secureConversationBootstrap>
          </security>
          <httpsTransport manualAddressing="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" maxBufferSize="2147483647" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" />
        </binding>
      </customBinding>
    </bindings>
    <client>
      <!-- legacy wcf service endpoints (these reference the proxy contracts and are used by the embedded xr app) -->
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/appointmentdataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="AppointmentDataService.IAppointmentDataService" name="WSHttpBinding_IAppointmentDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/careplandataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="CarePlanDataService.ICarePlanDataService" name="WSHttpBinding_ICarePlanDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/certificationdataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="CertificationDataService.ICertificationDataService" name="WSHttpBinding_ICertificationDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/commondataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="CommonDataService.ICommonDataService" name="WSHttpBinding_ICommonDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/crossroadsfileservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="BinaryHttpBindingForFileService" contract="CrossroadsFileService.ICrossroadsFileService" name="HttpsBinding_ICrossroadsFileService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/datasyncdataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="DataSyncDataService.IDataSyncDataService" name="WSHttpBinding_IDataSyncDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/documentgenerationdataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="DocumentGenerationDataService.IDocumentGenerationDataService" name="WSHttpBinding_IDocumentGenerationDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/familydataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="FamilyDataService.IFamilyDataService" name="WSHttpBinding_IFamilyDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/financedataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="FinanceDataService.IFinanceDataService" name="WSHttpBinding_IFinanceDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/fooddataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="FoodDataService.IFoodDataService" name="WSHttpBinding_IFoodDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/inventorydataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="InventoryDataService.IInventoryDataService" name="WSHttpBinding_IInventoryDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/logsaver.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="LogSaverService.ILogSaver" name="WSHttpBinding_ILogSaverService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/redemptiondataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="RedemptionDataService.IRedemptionDataService" name="WSHttpBinding_IRedemptionDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/securitydataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="SecurityDataService.ISecurityDataService" name="WSHttpBinding_ISecurityDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/syncservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="SyncService.ISyncService" name="WSHttpBinding_ISyncService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/vendordataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="VendorDataService.IVendorDataService" name="WSHttpBinding_IVendorDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/versioningdataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="VersioningDataService.IVersioningDataService" name="WSHttpBinding_IVersioningDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
      <!-- updated wcf service endpoints (these reference the correct underlying interface contract types and are used by the wrapper wpf app) -->
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/versioningdataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="Crossroads.Model.IVersioningDataService" name="VersioningService">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/logindataservice.svc" behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="HttpBindingSecureTimeSkew" contract="LoginDataService.ILoginDataService" name="WSHttpBinding_ILoginDataService">
        <identity>
          <dns value="local" />
        </identity>
      </endpoint>
    </client>
    <extensions>
      <behaviorExtensions>
        <add name="exceptionMarshalling" type="Crossroads.Framework.WCF.ExceptionMarshallingElement, Crossroads.Framework" />
        <add name="SecurityEndpoint" type="Crossroads.ProxyService.WCF.SecurityBehaviorExtentionElement, Crossroads.ProxyService" />
        <add name="SessionEndpoint" type="Crossroads.ProxyService.WCF.SessionBehaviorExtensionElement, Crossroads.ProxyService" />
      </behaviorExtensions>
    </extensions>
    <behaviors>
      <endpointBehaviors>
        <behavior name="EndpointBehavior">
          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
          <SecurityEndpoint />
          <SessionEndpoint />
          <exceptionMarshalling />
        </behavior>
      </endpointBehaviors>
    </behaviors>
  </system.serviceModel>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="ClientRoleProvider">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <system.net>
    <mailSettings>
      <smtp from="no reply">
        <!-- <network host="x.x.x.x" port="25" userName="" password="" defaultCredentials="true" /> -->
        <network host="outbound.mail.nc.gov" port="25" defaultCredentials="true" />
      </smtp>
    </mailSettings>
  </system.net>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  </startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Windows.Interactivity" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Prism.Wpf" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.0.1422" newVersion="7.2.0.1422" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Prism" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.0.1422" newVersion="7.2.0.1422" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="CommonServiceLocator" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.0.5.0" newVersion="2.0.5.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Unity.Abstractions" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.11.6.0" newVersion="5.11.6.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Unity.Container" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.11.8.0" newVersion="5.11.8.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <log4net debug="false">
    <root>
      <level value="ALL" />
      <appender-ref ref="console" />
      <appender-ref ref="file" />
    </root>
    <appender name="console" type="log4net.Appender.ConsoleAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date %level %logger - %message%newline" />
      </layout>
    </appender>
    <appender name="file" type="log4net.Appender.RollingFileAppender">
      <file value="logs/crossroads.log4net.log" />
      <appendToFile value="true" />
      <rollingStyle value="Size" />
      <maxSizeRollBackups value="5" />
      <maximumFileSize value="10MB" />
      <staticLogFileName value="true" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date [%thread] %level %logger - %message%newline%exception" />
      </layout>
    </appender>
  </log4net>
</configuration>