forked from nefarius/ScpToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.config
58 lines (53 loc) · 2.24 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="ScpDriver.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission="false" />
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</sectionGroup>
</configSections>
<applicationSettings>
<ScpDriver.Properties.Settings>
<setting name="Ds3BusClassGuid" serializeAs="String">
<value>f679f562-3164-42ce-a4db-e7ddbe723909</value>
</setting>
<setting name="InfFilePath" serializeAs="String">
<value>.\System\</value>
</setting>
<setting name="ScpServiceName" serializeAs="String">
<value>SCP DS3 Service</value>
</setting>
</ScpDriver.Properties.Settings>
<!-- This section contains the log4net configuration settings -->
<log4net debug="false">
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="ScpDsxInstaller_${USERNAME}.log.xml" />
<appendToFile value="true" />
<layout type="log4net.Layout.XmlLayoutSchemaLog4j">
<locationInfo value="true" />
</layout>
<param name="ImmediateFlush" value="true" />
</appender>
<appender name="textBox" type="ScpDriver.Utilities.TextBoxAppender, ScpDriver">
<formName value="ScpForm" />
<textBoxName value="tbOutput" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message" />
</layout>
</appender>
<!-- Setup the root category, add the appenders and set the default priority -->
<root>
<level value="ALL" />
<appender-ref ref="FileAppender" />
<appender-ref ref="textBox" />
<!-- other appenders enabled here -->
</root>
</log4net>
</applicationSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>