Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sync.Today master.config sample
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="log4net.Internal.Debug" value="true" />
<!-- add key="ExchangeTimeZone" value="Central Europe Standard Time" / -->
<add key="StringCipherInitVector" value="XXXXXXXXX" />
<!-- add key="FloresFirmID" value="F011000000" />
<add key="FloresPersonID" value="1A00000101" / -->
<add key="FloresPeriodID" value="1400000101" />
<add key="FloresDivisionID" value="2100000101" />
<add key="ServerPort" value="8000" />
<add key="DataLog" value="true" />
<!-- add key="Exchange.shouldBeReminderSet" value="false" / -->
<!-- add key="GlobalUploadIgnore" value="true" / -->
</appSettings>
<connectionStrings>
<add name="sync-today-mssql" connectionString="Server=tcp:xxx.database.windows.net,1433;Database=naseukolyczsynctoday;User ID=synctoday@xxx;Password=yyy;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" providerName="System.Data.SqlClient" />
</connectionStrings>
<log4net xsi:noNamespaceSchemaLocation="http://csharptest.net/downloads/schema/log4net.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" debug="true">
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="C:\SyncToday2015\Logs\synctoday.txt" />
<maximumFileSize value="50MB" />
<maxSizeRollBackups value="10" />
<rollingStyle value="Composite" />
<appendToFile value="true" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
<appender name="StandardAttrsVisiblyDifferent" type="log4net.Appender.RollingFileAppender">
<file value="C:\SyncToday2015\Logs\StandardAttrsVisiblyDifferent.log" />
<maximumFileSize value="50MB" />
<maxSizeRollBackups value="10" />
<rollingStyle value="Composite" />
<appendToFile value="true" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
<appender name="DevLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\SyncToday2015\Logs\DevLog.log" />
<maximumFileSize value="50MB" />
<maxSizeRollBackups value="10" />
<rollingStyle value="Composite" />
<appendToFile value="true" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
<appender name="IgnoreLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\SyncToday2015\Logs\IgnoreLog.log" />
<maximumFileSize value="50MB" />
<maxSizeRollBackups value="10" />
<rollingStyle value="Composite" />
<appendToFile value="true" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
<appender name="WinnerLog" type="log4net.Appender.RollingFileAppender">
<file value="C:\SyncToday2015\Logs\WinnerLog.log" />
<maximumFileSize value="50MB" />
<maxSizeRollBackups value="10" />
<rollingStyle value="Composite" />
<appendToFile value="true" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
<appender name="exchange_data_before" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\exchange_data_before-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="exchange_data_after" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\exchange_data_after-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="flores_data_before" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\flores_data_before-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="flores_data_after" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\flores_data_after-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="appointment_data_before" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\appointment_data_before-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="appointment_data_after" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\appointment_data_after-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="adapterappointment_data_before" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\adapterappointment_data_before-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<appender name="adapterappointment_data_after" type="log4net.Appender.FileAppender">
<file type="log4net.Util.PatternString" value="C:\SyncToday2015\Logs\adapterappointment_data_after-%date{yyyy-MM-dd_HH-mm-ss}.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline" />
</layout>
</appender>
<root>
<level value="ALL" />
<!-- appender-ref ref="AdoNetAppender" / -->
<appender-ref ref="RollingFileAppender" />
</root>
<logger name="StandardAttrsVisiblyDifferent" additivity="false">
<appender-ref ref="StandardAttrsVisiblyDifferent" />
</logger>
<logger name="DevLog" additivity="false">
<appender-ref ref="DevLog" />
</logger>
<logger name="IgnoreLog" additivity="false">
<appender-ref ref="IgnoreLog" />
</logger>
<logger name="WinnerLog" additivity="false">
<appender-ref ref="WinnerLog" />
</logger>
<logger name="exchange_data_before" additivity="false">
<appender-ref ref="exchange_data_before" />
</logger>
<logger name="exchange_data_after" additivity="false">
<appender-ref ref="exchange_data_after" />
</logger>
<logger name="flores_data_before" additivity="false">
<appender-ref ref="flores_data_before" />
</logger>
<logger name="flores_data_after" additivity="false">
<appender-ref ref="flores_data_after" />
</logger>
<logger name="appointment_data_before" additivity="false">
<appender-ref ref="appointment_data_before" />
</logger>
<logger name="appointment_data_after" additivity="false">
<appender-ref ref="appointment_data_after" />
</logger>
<logger name="adapterappointment_data_before" additivity="false">
<appender-ref ref="adapterappointment_data_before" />
</logger>
<logger name="adapterappointment_data_after" additivity="false">
<appender-ref ref="adapterappointment_data_after" />
</logger>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.4.0.0" newVersion="4.4.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.6.3.13283" newVersion="2.6.3.13283" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.WindowsAzure.Storage" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment