diff options
Diffstat (limited to 'OpenSim/Tools/OpenSim.GridLaunch/App.config')
-rw-r--r-- | OpenSim/Tools/OpenSim.GridLaunch/App.config | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/OpenSim/Tools/OpenSim.GridLaunch/App.config b/OpenSim/Tools/OpenSim.GridLaunch/App.config new file mode 100644 index 0000000..1e53319 --- /dev/null +++ b/OpenSim/Tools/OpenSim.GridLaunch/App.config | |||
@@ -0,0 +1,40 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <configuration> | ||
3 | <configSections> | ||
4 | <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> | ||
5 | </configSections> | ||
6 | <runtime> | ||
7 | <gcConcurrent enabled="true" /> | ||
8 | <gcServer enabled="true" /> | ||
9 | </runtime> | ||
10 | <appSettings> | ||
11 | </appSettings> | ||
12 | <log4net> | ||
13 | <appender name="LogForwarder" type="OpenSim.GridLaunch.log4netAppender"> | ||
14 | <layout type="log4net.Layout.PatternLayout"> | ||
15 | <conversionPattern value="%date{HH:mm:ss} - %message%newline" /> | ||
16 | </layout> | ||
17 | </appender> | ||
18 | |||
19 | <appender name="TraceWriter" type="log4net.Appender.TraceAppender"> | ||
20 | <layout type="log4net.Layout.PatternLayout"> | ||
21 | <conversionPattern value="%date{HH:mm:ss} - %message%newline" /> | ||
22 | </layout> | ||
23 | </appender> | ||
24 | |||
25 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | ||
26 | <file value="OpenSim.GridLaunch.log" /> | ||
27 | <appendToFile value="true" /> | ||
28 | <layout type="log4net.Layout.PatternLayout"> | ||
29 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | ||
30 | </layout> | ||
31 | </appender> | ||
32 | |||
33 | <root> | ||
34 | <level value="ALL" /> | ||
35 | <appender-ref ref="LogForwarder" /> | ||
36 | <appender-ref ref="LogFileAppender" /> | ||
37 | <appender-ref ref="TraceWriter" /> | ||
38 | </root> | ||
39 | </log4net> | ||
40 | </configuration> \ No newline at end of file | ||