프로젝트

일반

사용자정보

개정판 b60e844d

IDb60e844d8a91bb5c57bcdba0a6a947b1965d7e0f
상위 902faaea
하위 de390cf6

김태성이(가) 4년 이상 전에 추가함

- 불필요한 BCL,RX,RestHttp 제거

Change-Id: I1025cb8ddaf03214d21d03b10ac39b2bc7955581

차이점 보기:

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
    <!--<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" />-->
12 12
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
13 13
  </configSections>
14 14
  <startup>
15 15
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
16 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{LogDBFilePath};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
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
58
      <file type="log4net.Util.PatternString" value="%property{LogFilePath}" />
59
      <datePattern value="yyyy-MM-dd.log" />
60
      <appendToFile value="true" />
61
      <rollingStyle value="Size" />
62
      <maximumFileSize value="100KB" />
63
      <maxSizeRollBackups value="100" />
64
      <!-- Use -1 for unlimited-->
65
      <staticLogFileName value="true" />
66
      <countDirection value="1" />
67
      <layout type="log4net.Layout.PatternLayout">
68
        <!--<header value="DATE          MESSAGE&#13;&#10;" /> -->
69
        <param name="ConversionPattern" value="%date %message %newline" />
70
      </layout>
71
    </appender>
72
    <root>
73
      <level value="ALL" />
74
    </root>
75
    <logger name="DBLogger" additivity="false">
76
      <level value="ALL" />
77
      <appender-ref ref="AdoNetAppender" />
78
    </logger>
79
    <logger name="EventLogger" additivity="false">
80
      <level value="ALL" />
81
      <appender-ref ref="RollingFileAppender" />
82
    </logger>
83
  </log4net>
84 17
  <runtime>
85 18
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
86 19
        <!--<probing privatePath="DLL;DLL\Teigha"/>-->
......
110 43
      </dependentAssembly>
111 44
      <dependentAssembly>
112 45
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
113
        <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
46
        <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
114 47
      </dependentAssembly>
115 48
      <dependentAssembly>
116 49
        <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
......
218 151
      </setting>
219 152
    </KCOM.Properties.Settings>
220 153
  </applicationSettings>
221
  <entityFramework>
154
  <!--<entityFramework>
222 155
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework">
223 156
      <parameters>
224 157
        <parameter value="Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True" />
......
228 161
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
229 162
      <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
230 163
    </providers>
231
  </entityFramework>
164
  </entityFramework>-->
232 165
  
233
<system.data>
234
    <DbProviderFactories>
235
      <remove invariant="System.Data.SQLite.EF6" />
236
      <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" />
237
    <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>
238
  </system.data></configuration>
166
</configuration>

내보내기 Unified diff

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