forked from nefarius/ScpToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.config
70 lines (65 loc) · 2.93 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
59
60
61
62
63
64
65
66
67
68
69
70
<?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="log4net" type="System.Configuration.IgnoreSectionHandler" />
<section name="ScpControl.Properties.Settings"
type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<ScpControl.Properties.Settings>
<setting name="RootHubCommandRxHost" serializeAs="String">
<value>localhost</value>
</setting>
<setting name="RootHubCommandRxPort" serializeAs="String">
<value>26760</value>
</setting>
<setting name="RootHubNativeFeedRxHost" serializeAs="String">
<value>localhost</value>
</setting>
<setting name="RootHubNativeFeedRxPort" serializeAs="String">
<value>26761</value>
</setting>
</ScpControl.Properties.Settings>
<!-- This section contains the log4net configuration settings -->
<log4net debug="false">
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="Logs\ScpDsxService_${USERNAME}.log.xml" />
<appendToFile value="true" />
<layout type="log4net.Layout.XmlLayoutSchemaLog4j">
<locationInfo value="true" />
</layout>
<param name="ImmediateFlush" value="true" />
</appender>
<!-- This is a sample appender to use in the *client* - copy and paste and modify to taste -->
<appender name="remotingAppender"
type="log4net.Appender.RemotingAppender">
<!-- The remoting URL to the remoting server object -->
<sink value="tcp://localhost:8085/Log4netRemotingServerService" />
<!-- Send all events, do not discard events when the buffer is full -->
<lossy value="false" />
<!-- The number of events to buffer before sending -->
<bufferSize value="1" />
<!-- Do not store event data that is slow to generate -->
<onlyFixPartialEventData value="true" />
<!-- Specify an evaluator to send the events immediately under certain conditions, e.g. when an error event ocurrs -->
<evaluator type="log4net.Core.LevelEvaluator">
<threshold value="ALL" />
</evaluator>
</appender>
<!-- Setup the root category, add the appenders and set the default priority -->
<root>
<level value="ALL" />
<appender-ref ref="FileAppender" />
<appender-ref ref="remotingAppender" />
<!-- other appenders enabled here -->
</root>
</log4net>
</applicationSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>