123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <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"/>
- <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"/>
- </configSections>
- <!--日志配置-->
- <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
- <listeners>
- <add name="GeneralListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- fileName="General\rolling.log" formatter="Text Formatter" rollFileExistsBehavior="Increment"
- rollInterval="Day" maxArchivedFiles="0" traceOutputOptions="None" />
- <add name="SockListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- fileName="Sock\rolling.log" formatter="Text Formatter" rollInterval="Day" />
- <add name="ScanListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- fileName="Scan\rolling.log" formatter="Text Formatter" rollInterval="Day" />
- <add name="SqlListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- fileName="SQL\logSql.log" formatter="Text Formatter" rollInterval="Day" />
- </listeners>
- <formatters>
- <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
- template="Timestamp: {timestamp}{newline}
Message: {message}"
- name="Text Formatter" />
- </formatters>
- <categorySources>
- <add switchValue="All" name="General">
- <listeners>
- <add name="GeneralListener" />
- </listeners>
- </add>
- <add switchValue="All" name="Sock">
- <listeners>
- <add name="SockListener" />
- </listeners>
- </add>
- <add switchValue="All" name="AdapterScan">
- <listeners>
- <add name="ScanListener" />
- </listeners>
- </add>
- <add switchValue="All" name="SQL">
- <listeners>
- <add name="SqlListener" />
- </listeners>
- </add>
- </categorySources>
- <specialSources>
- <allEvents switchValue="All" name="All Events" />
- <notProcessed switchValue="All" name="Unprocessed Category" />
- <errors switchValue="All" name="Logging Errors & Warnings" />
- </specialSources>
- </loggingConfiguration>
- <dataConfiguration defaultDatabase="DefaultDB"/>
- <connectionStrings>
- <!--<add name="DefaultDB" connectionString="Data Source=172.19.20.65;
- Initial Catalog=HL7_Platform;
- Persist Security Info=True;
- Integrated Security=False;
- User ID=sa;Password=sa65" providerName="System.Data.SqlClient"/>
- <add name="HealthCare" connectionString="Data Source=172.19.20.65;
- Initial Catalog=HealthCare;
- Persist Security Info=True;
- Integrated Security=False;
- User ID=sa;Password=sa65" providerName="System.Data.SqlClient"/>-->
- <add name="DefaultDB" connectionString="Data Source=192.9.216.131;
- Initial Catalog=HL7_Platform;
- Persist Security Info=True;
- Integrated Security=False;
- User ID=sa;Password=SIjdrmyy2015" providerName="System.Data.SqlClient"/>
- <add name="HealthCare" connectionString="Data Source=192.9.216.131;
- Initial Catalog=HealthCare;
- User ID=sa;Password=SIjdrmyy2015" providerName="System.Data.SqlClient"/>
- </connectionStrings>
- <appSettings>
- <!--启动SQL日志-->
- <add key="LogSql" value="1"/>
- <add key="cert" value="aA1PB0cmzLIQkIiz5gji5eoNnpZ1Y5186h5b/huk5Fg="/>
- </appSettings>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
- </startup>
- <!--<system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="WebServiceSoap" />
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://localhost:8091/WebService.asmx" binding="basicHttpBinding"
- bindingConfiguration="WebServiceSoap" contract="ServiceTest.WebServiceSoap"
- name="WebServiceSoap" />
- </client>
- </system.serviceModel>-->
- </configuration>
|