diff options
author | Oren Hurvitz | 2013-12-02 15:18:47 +0200 |
---|---|---|
committer | Oren Hurvitz | 2014-03-25 09:53:02 +0100 |
commit | 8ecab21b379d34f97ac966b13e1605024364142b (patch) | |
tree | 50dcc8a3881547fc6e0c185112436f2c2d7f7b24 /bin/OpenSim.exe.config | |
parent | In Core Profiles: as a fallback, try to get profiles from foreign grids using... (diff) | |
download | opensim-SC-8ecab21b379d34f97ac966b13e1605024364142b.zip opensim-SC-8ecab21b379d34f97ac966b13e1605024364142b.tar.gz opensim-SC-8ecab21b379d34f97ac966b13e1605024364142b.tar.bz2 opensim-SC-8ecab21b379d34f97ac966b13e1605024364142b.tar.xz |
Use log-rolling on the log files (once per day)
Resolves http://opensimulator.org/mantis/view.php?id=6950
Diffstat (limited to 'bin/OpenSim.exe.config')
-rwxr-xr-x | bin/OpenSim.exe.config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config index 1ec3c9c..8b48156 100755 --- a/bin/OpenSim.exe.config +++ b/bin/OpenSim.exe.config | |||
@@ -23,9 +23,11 @@ | |||
23 | </layout> | 23 | </layout> |
24 | </appender> | 24 | </appender> |
25 | 25 | ||
26 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 26 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
27 | <file value="OpenSim.log" /> | 27 | <file value="OpenSim.log" /> |
28 | <appendToFile value="true" /> | 28 | <appendToFile value="true" /> |
29 | <rollingStyle value="Date" /> | ||
30 | <datePattern value="'.'yyyy-MM-dd"/> | ||
29 | <filter type="log4net.Filter.LoggerMatchFilter"> | 31 | <filter type="log4net.Filter.LoggerMatchFilter"> |
30 | <loggerToMatch value="special"/> | 32 | <loggerToMatch value="special"/> |
31 | <acceptOnMatch value="false"/> | 33 | <acceptOnMatch value="false"/> |