-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.config
56 lines (56 loc) · 2.23 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
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="IsDebug" value="true"/>
<add key="PingInterval" value="300000"/>
<!--milliseconds = 300000 = 5 minutes-->
<add key="PingSendTimeout" value="1000"/>
<!--milliseconds = 1000 = 1 seconds-->
<add key="PingReceiveTimeout" value="3000"/>
<!--milliseconds = 3000 = 3 seconds-->
<add key="RestartInterval" value="60"/>
<!--60 minutes-->
<add key="UpdateInterval" value="24"/>
<!--24 hours-->
<add key="Host" value="127.0.0.1"/>
<add key="Port" value="783"/>
<add key="RunCmd" value="C:\Program Files\SpamAssassin for Windows\spamd.exe"/>
<add key="RunCmdArguments" value="--allow-tell --ipv4-only --syslog="C:\Program Files\SpamAssassin for Windows\Log\spamd.log""/>
<add key="UpdateCmd" value="C:\Program Files\SpamAssassin for Windows\sa-update.exe"/>
<add key="UpdateCmdArguments" value="-v --nogpg --channelfile "C:\Program Files\SpamAssassin for Windows\UpdateChannels.txt""/>
<add key="Priority" value="Normal"/>
<!-- RealTime, High, AboveNormal, Normal, BelowNormal, Idle - Default = Normal-->
</appSettings>
<log4net debug="true">
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyy-MM-dd.lo\g" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date{yyyy-MM-dd HH:mm:ss,fff} %-5level: %message%newline" />
</layout>
</appender>
<appender name="Console" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level: %message%newline" />
</layout>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="RollingLogFileAppender" />
<appender-ref ref="Console" />
</root>
</log4net>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<runtime>
<gcConcurrent enabled="false"/>
<gcServer enabled="true"/>
</runtime>
</configuration>