aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/OpenSim.Grid.MessagingServer.exe.config
blob: e8c34d2df665312067a3f2dbef6c3a77ea3ad697 (plain)
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
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  </configSections>
  <appSettings>
  </appSettings>
  <log4net>
    <appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender">
      <mapping>
        <level value="ERROR" />
        <foreColor value="Red" />
        <attributes value="Bright"/>
      </mapping>
      <mapping>
        <level value="DEBUG"/>
        <foreColor value="Green"/>
      </mapping>
      <mapping>
        <level value="INFO"/>
        <foreColor value="Blue"/>
      </mapping>
      <mapping>
        <level value="Warn"/>
        <foreColor value="Yellow"/>
        <attributes value="Bright"/>
      </mapping>
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date %-5level %logger - %message%newline" />
      </layout>
    </appender>
    <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
      <file value="OpenSim.Grid.MessagingServer.log" />
      <appendToFile value="false" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date %-5level %logger - %message%newline" />
      </layout>
    </appender>

    <root>
      <level value="DEBUG" />
      <appender-ref ref="Console" />
      <appender-ref ref="LogFileAppender" />
    </root>
  </log4net>
</configuration>