-
Notifications
You must be signed in to change notification settings - Fork 57
/
Server.exe.config
89 lines (81 loc) · 3.16 KB
/
Server.exe.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<log4net>
<appender name="ServerAppender" type="log4net.Appender.RollingFileAppender">
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
<file value="Logs\Server\"/>
<datePattern value="'Server ('dd-MM-yyyy').log'"/>
<staticLogFileName value="false"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level - %message%newline"/>
</layout>
</appender>
<appender name="ChatAppender" type="log4net.Appender.RollingFileAppender">
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
<file value="Logs\Chat\"/>
<datePattern value="'Chat ('dd-MM-yyyy').log'"/>
<staticLogFileName value="false"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date - %message%newline"/>
</layout>
</appender>
<appender name="SpawnAppender" type="log4net.Appender.RollingFileAppender">
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
<file value="Logs\Spawn\"/>
<datePattern value="'Spawn ('dd-MM-yyyy').log'"/>
<staticLogFileName value="false"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level - %message%newline"/>
</layout>
</appender>
<appender name="PlayerAppender" type="log4net.Appender.RollingFileAppender">
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
<file value="Logs\Player\"/>
<datePattern value="'Player ('dd-MM-yyyy').log'"/>
<staticLogFileName value="false"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level - %message%newline"/>
</layout>
</appender>
<appender name="DebugAppender" type="log4net.Appender.RollingFileAppender">
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
<file value="Logs\Debug\"/>
<datePattern value="'Debug ('dd-MM-yyyy').log'"/>
<staticLogFileName value="false"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level - %message%newline"/>
</layout>
</appender>
<logger name="Server">
<level value="ALL"/>
<appender-ref ref="ServerAppender"/>
</logger>
<logger name="Chat">
<level value="ALL"/>
<appender-ref ref="ChatAppender"/>
</logger>
<logger name="Spawn">
<level value="ALL"/>
<appender-ref ref="SpawnAppender"/>
</logger>
<logger name="Player">
<level value="ALL"/>
<appender-ref ref="PlayerAppender"/>
</logger>
<logger name="Debug">
<level value="ALL"/>
<appender-ref ref="DebugAppender"/>
</logger>
</log4net>
</configuration>