JD2022-TU1/main/extern/GearStudio_Connected/GearStudio.exe.config

60 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Register a section handler for the log4net section -->
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
<section name="TrackerClientConfig" type="Ubisoft.TG.Utility.AppConfigXml, Tracker.Client"/>
</configSections>
<appSettings>
<!-- To enable internal log4net logging specify the following appSettings key -->
<!-- <add key="log4net.Internal.Debug" value="true"/> -->
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Libs" />
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.13.0" newVersion="1.2.13.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<!-- This section contains the log4net configuration settings -->
<log4net>
<!-- Simple file appender -->
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="log-file.txt" />
<appendToFile value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
</layout>
</appender>
<!-- Append to memory -->
<appender name="MemoryAppender" type="Utilities.LogWatcher" />
<!-- Setup the root category, add the appenders and set the default level -->
<root>
<level value="ALL" />
<appender-ref ref="FileAppender" />
<appender-ref ref="MemoryAppender" />
</root>
</log4net>
<TrackerClientConfig>
<Gear_Tracker>
<TrackerClientEndPointUrl>http://TGTracker01:9118/Tracker/Gear</TrackerClientEndPointUrl>
<PendingQueueSize>2000</PendingQueueSize>
<FailedTimeOutQueueInSeconds>10</FailedTimeOutQueueInSeconds>
<DataTransferTimeoutInSeconds>60</DataTransferTimeoutInSeconds>
</Gear_Tracker>
</TrackerClientConfig>
</configuration>