Appconfig.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="quartz" type="System.Configuration.NameValueSectionHandler" />
  5. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  6. <sectionGroup name="common">
  7. <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
  8. </sectionGroup>
  9. </configSections>
  10. <quartz>
  11. <add key="quartz.scheduler.instanceName" value="TransdataService" />
  12. <add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
  13. <add key="quartz.threadPool.threadCount" value="10" />
  14. <add key="quartz.threadPool.threadPriority" value="2" />
  15. <add key="quartz.jobStore.misfireThreshold" value="60000" />
  16. <add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz" />
  17. <!--******************************Plugin配置*********************************************-->
  18. <add key="quartz.plugin.xml.type" value="Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, Quartz" />
  19. <add key="quartz.plugin.xml.fileNames" value="~/Conf/jobs.config" />
  20. </quartz>
  21. <common>
  22. <logging>
  23. <factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net1213">
  24. <arg key="configType" value="FILE-WATCH" />
  25. <arg key="configFile" value="~/Conf/log4net.config" />
  26. <arg key="level" value="INFO" />
  27. </factoryAdapter>
  28. </logging>
  29. </common>
  30. <startup>
  31. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
  32. </startup>
  33. <runtime>
  34. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  35. <dependentAssembly>
  36. <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
  37. <bindingRedirect oldVersion="0.0.0.0-1.2.15.0" newVersion="1.2.15.0" />
  38. </dependentAssembly>
  39. </assemblyBinding>
  40. </runtime>
  41. </configuration>