| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="quartz" type="System.Configuration.NameValueSectionHandler" />
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
- <sectionGroup name="common">
- <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
- </sectionGroup>
- </configSections>
- <quartz>
- <add key="quartz.scheduler.instanceName" value="TransdataService" />
- <add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
- <add key="quartz.threadPool.threadCount" value="10" />
- <add key="quartz.threadPool.threadPriority" value="2" />
- <add key="quartz.jobStore.misfireThreshold" value="60000" />
- <add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz" />
- <!--******************************Plugin配置*********************************************-->
- <add key="quartz.plugin.xml.type" value="Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, Quartz" />
- <add key="quartz.plugin.xml.fileNames" value="~/Conf/jobs.config" />
- </quartz>
- <common>
- <logging>
- <factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net1213">
- <arg key="configType" value="FILE-WATCH" />
- <arg key="configFile" value="~/Conf/log4net.config" />
- <arg key="level" value="INFO" />
- </factoryAdapter>
- </logging>
- </common>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
- </startup>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-1.2.15.0" newVersion="1.2.15.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>
|