MediII.Adapter.MsgToScanMServer.exe.config 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <configSections>
  4. <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
  5. <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
  6. </configSections>
  7. <!--日志配置-->
  8. <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
  9. <listeners>
  10. <add name="GeneralListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  11. listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  12. fileName="General\rolling.log" formatter="Text Formatter" rollFileExistsBehavior="Increment"
  13. rollInterval="Day" maxArchivedFiles="0" traceOutputOptions="None" />
  14. <add name="SockListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  15. listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  16. fileName="Sock\rolling.log" formatter="Text Formatter" rollInterval="Day" />
  17. <add name="ScanListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  18. listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  19. fileName="Scan\rolling.log" formatter="Text Formatter" rollInterval="Day" />
  20. <add name="SqlListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  21. listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  22. fileName="SQL\logSql.log" formatter="Text Formatter" rollInterval="Day" />
  23. </listeners>
  24. <formatters>
  25. <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  26. template="Timestamp: {timestamp}{newline}&#xA;Message: {message}"
  27. name="Text Formatter" />
  28. </formatters>
  29. <categorySources>
  30. <add switchValue="All" name="General">
  31. <listeners>
  32. <add name="GeneralListener" />
  33. </listeners>
  34. </add>
  35. <add switchValue="All" name="Sock">
  36. <listeners>
  37. <add name="SockListener" />
  38. </listeners>
  39. </add>
  40. <add switchValue="All" name="AdapterScan">
  41. <listeners>
  42. <add name="ScanListener" />
  43. </listeners>
  44. </add>
  45. <add switchValue="All" name="SQL">
  46. <listeners>
  47. <add name="SqlListener" />
  48. </listeners>
  49. </add>
  50. </categorySources>
  51. <specialSources>
  52. <allEvents switchValue="All" name="All Events" />
  53. <notProcessed switchValue="All" name="Unprocessed Category" />
  54. <errors switchValue="All" name="Logging Errors &amp; Warnings" />
  55. </specialSources>
  56. </loggingConfiguration>
  57. <dataConfiguration defaultDatabase="DefaultDB" />
  58. <connectionStrings>
  59. <!-- <add name="DefaultDB" connectionString="Data Source=192.168.1.26;
  60. Initial Catalog=HL7_Platform;
  61. Persist Security Info=True;
  62. Integrated Security=False;
  63. User ID=sa;Password=sa26" providerName="System.Data.SqlClient"/>
  64. <add name="HealthCare" connectionString="Data Source=192.168.1.26;
  65. Initial Catalog=HealthCare;
  66. Persist Security Info=True;
  67. Integrated Security=False;
  68. User ID=sa;Password=sa26" providerName="System.Data.SqlClient"/>-->
  69. <add name="DefaultDB" connectionString="server=120.27.235.181;port=3306; UserID=root;Password=xywl2021!;Charset=utf8;database=performance_message" providerName="MySql.Data.MySqlClient"/>
  70. <add name="HealthCare" connectionString="server=120.27.235.181;port=3306; UserID=root;Password=xywl2021!;Charset=utf8;database=intermediate_gc;Allow User Variables=True" providerName="MySql.Data.MySqlClient"/>
  71. </connectionStrings>
  72. <appSettings>
  73. <!--测试-->
  74. <!--正式-->
  75. <add key="MediIIAddress" value="192.9.216.206" />
  76. <add key="MediIIPort" value="31001" />
  77. <add key="BufferSize" value="4048" />
  78. <add key="ReviceTimeOut" value="30000" />
  79. <add key="ErrorRepeatCount" value="1" />
  80. <add key="ErrorSleepMSecodes" value="3000" />
  81. <!--<add key="SedingApplication" value="UEHIS" />-->
  82. <add key="HosiptalName" value=""/>
  83. <add key="AddMinues" value="30"/>
  84. <add key="BranchID" value=""/>
  85. <!--查询数量-->
  86. <add key="SearchNum" value="50"/>
  87. <!--任务解锁时间 单位分钟-->
  88. <add key="TaskRunTime" value="5"/>
  89. <add key="SetTime" value="-01 02:00:00" />
  90. <add key="Post_url" value="http://10.10.5.120:80/wilink/api/wilink/gateway/allInOne"/>
  91. <!--启动SQL日志-->
  92. <add key="LogSql" value="1"/>
  93. </appSettings>
  94. </configuration>