diff options
author | onefang | 2019-05-19 22:25:06 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:25:06 +1000 |
commit | 66d7ba733f296f81398a040f05dd945c2facb2b4 (patch) | |
tree | d6935a793caa197684bea427bfa5dc45b8fa9173 /bin/Robust.exe.config | |
parent | Update version number stuff, and hack it into the money display. (diff) | |
download | opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.zip opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.tar.gz opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.tar.bz2 opensim-SC-66d7ba733f296f81398a040f05dd945c2facb2b4.tar.xz |
Various logging fix ups.
Mostly removing console spam.
Default to INFO on the console and DEBUG in the log files.
More time stamp resolution.
Diffstat (limited to 'bin/Robust.exe.config')
-rw-r--r-- | bin/Robust.exe.config | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/bin/Robust.exe.config b/bin/Robust.exe.config index 03c8f4e..f5379ff 100644 --- a/bin/Robust.exe.config +++ b/bin/Robust.exe.config | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | <log4net> | 12 | <log4net> |
13 | <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> | 13 | <appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console"> |
14 | <threshold value="INFO" /> | ||
14 | <filter type="log4net.Filter.LoggerMatchFilter"> | 15 | <filter type="log4net.Filter.LoggerMatchFilter"> |
15 | <loggerToMatch value="special"/> | 16 | <loggerToMatch value="special"/> |
16 | <acceptOnMatch value="false"/> | 17 | <acceptOnMatch value="false"/> |
@@ -20,23 +21,18 @@ | |||
20 | </layout> | 21 | </layout> |
21 | </appender> | 22 | </appender> |
22 | 23 | ||
23 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: | ||
24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> | 24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
25 | <threshold value="DEBUG" /> | ||
25 | <file value="../../logs/Robust.log" /> | 26 | <file value="../../logs/Robust.log" /> |
26 | <rollingStyle value="Date" /> | 27 | <rollingStyle value="Date" /> |
27 | <datePattern value="'.'yyyy-MM-dd"/> | 28 | <datePattern value="'.'yyyy-MM-dd"/> |
28 | ... | ||
29 | --> | ||
30 | |||
31 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | ||
32 | <file value="Robust.log" /> | ||
33 | <appendToFile value="true" /> | 29 | <appendToFile value="true" /> |
34 | <filter type="log4net.Filter.LoggerMatchFilter"> | 30 | <filter type="log4net.Filter.LoggerMatchFilter"> |
35 | <loggerToMatch value="special"/> | 31 | <loggerToMatch value="special"/> |
36 | <acceptOnMatch value="false"/> | 32 | <acceptOnMatch value="false"/> |
37 | </filter> | 33 | </filter> |
38 | <layout type="log4net.Layout.PatternLayout"> | 34 | <layout type="log4net.Layout.PatternLayout"> |
39 | <conversionPattern value="%date %-5level (%thread) - %logger %message%newline" /> | 35 | <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.fff} %-5level (%thread) - %logger %message%newline" /> |
40 | </layout> | 36 | </layout> |
41 | </appender> | 37 | </appender> |
42 | 38 | ||
@@ -49,7 +45,6 @@ | |||
49 | </appender> | 45 | </appender> |
50 | 46 | ||
51 | <root> | 47 | <root> |
52 | <level value="DEBUG" /> | ||
53 | <appender-ref ref="Console" /> | 48 | <appender-ref ref="Console" /> |
54 | <appender-ref ref="LogFileAppender" /> | 49 | <appender-ref ref="LogFileAppender" /> |
55 | </root> | 50 | </root> |