프로젝트

일반

사용자정보

개정판 a7346d3c

IDa7346d3c38bf5f820b53719a0018a7da392642a0
상위 48133b12
하위 26f20003, f20989cc

백흠경이(가) 5년 이상 전에 추가함

issue #934: save un-handled exception to database

Change-Id: I1f8836956ac96821089f0c085cba4a06adfcf667

차이점 보기:

KCOM/app.config
7 7
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
8 8
      <section name="KCOM.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
9 9
    </sectionGroup>
10
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
11
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
10 12
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
11
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
12 13
  </configSections>
14
  <startup>
15
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
16
  </startup>
17
  <log4net>
18
    <appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender">
19
      <bufferSize value="100" />
20
      <connectionType value="System.Data.SQLite.SQLiteConnection, System.Data.SQLite" />
21
      <connectionString type="log4net.Util.PatternString" value="Data Source=%property{LogFilePath};Version=3;Synchronous=Off" />
22
      <commandText value="INSERT INTO Log (Date, Level, Logger, Message, StackTrace) VALUES (@Date, @Level, @Logger, @Message, @StackTrace)" />
23
      <parameter>
24
        <parameterName value="@Date" />
25
        <dbType value="DateTime" />
26
        <layout type="log4net.Layout.RawTimeStampLayout" />
27
      </parameter>
28
      <parameter>
29
        <parameterName value="@Level" />
30
        <dbType value="String" />
31
        <layout type="log4net.Layout.PatternLayout">
32
          <conversionPattern value="%level" />
33
        </layout>
34
      </parameter>
35
      <parameter>
36
        <parameterName value="@Logger" />
37
        <dbType value="String" />
38
        <layout type="log4net.Layout.PatternLayout">
39
          <conversionPattern value="%logger" />
40
        </layout>
41
      </parameter>
42
      <parameter>
43
        <parameterName value="@Message" />
44
        <dbType value="String" />
45
        <layout type="log4net.Layout.PatternLayout">
46
          <conversionPattern value="%message" />
47
        </layout>
48
      </parameter>
49
      <parameter>
50
        <parameterName value="@StackTrace" />
51
        <dbType value="String" />
52
        <layout type="log4net.Layout.PatternLayout">
53
          <conversionPattern value="%stacktrace" />
54
        </layout>
55
      </parameter>
56
    </appender>
57
    <root>
58
      <level value="ALL" />
59
      <appender-ref ref="AdoNetAppender" />
60
    </root>
61
  </log4net>
13 62
  <runtime>
14 63
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
15 64
      <dependentAssembly>
......
26 75
      </dependentAssembly>
27 76
      <dependentAssembly>
28 77
        <assemblyIdentity name="Telerik.Windows.Controls" publicKeyToken="5803cfa389c90ce7" culture="neutral" />
29
        <bindingRedirect oldVersion="0.0.0.0-2017.3.1018.40" newVersion="2017.3.1018.40" />
78
        <bindingRedirect oldVersion="0.0.0.0-2019.1.220.40" newVersion="2019.1.220.40" />
30 79
      </dependentAssembly>
31 80
      <dependentAssembly>
32 81
        <assemblyIdentity name="Telerik.Windows.Data" publicKeyToken="5803cfa389c90ce7" culture="neutral" />
......
40 89
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
41 90
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
42 91
      </dependentAssembly>
92
      <dependentAssembly>
93
        <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
94
        <bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0" />
95
      </dependentAssembly>
43 96
    </assemblyBinding>
44 97
  </runtime>
98
  
45 99
  <userSettings>
46 100
    <KCOM.Properties.Settings>
47 101
      <setting name="BaseClientAddress" serializeAs="String">
......
133 187
        <parameter value="Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True" />
134 188
      </parameters>
135 189
    </defaultConnectionFactory>
190
    <providers>
191
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
192
      <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
193
    </providers>
136 194
  </entityFramework>
137
</configuration>
195
  
196
<system.data>
197
    <DbProviderFactories>
198
      <remove invariant="System.Data.SQLite.EF6" />
199
      <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
200
    <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
201
  </system.data></configuration>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)