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 | |
parent | In Core Profiles: as a fallback, try to get profiles from foreign grids using... (diff) | |
download | opensim-SC_OLD-8ecab21b379d34f97ac966b13e1605024364142b.zip opensim-SC_OLD-8ecab21b379d34f97ac966b13e1605024364142b.tar.gz opensim-SC_OLD-8ecab21b379d34f97ac966b13e1605024364142b.tar.bz2 opensim-SC_OLD-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')
-rw-r--r-- | bin/OpenSim.32BitLaunch.exe.config | 4 | ||||
-rwxr-xr-x | bin/OpenSim.exe.config | 4 | ||||
-rw-r--r-- | bin/Robust.32BitLaunch.exe.config | 4 | ||||
-rw-r--r-- | bin/Robust.exe.config | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/bin/OpenSim.32BitLaunch.exe.config b/bin/OpenSim.32BitLaunch.exe.config index a07ace3..25776f2 100644 --- a/bin/OpenSim.32BitLaunch.exe.config +++ b/bin/OpenSim.32BitLaunch.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.32BitLaunch.log" /> | 27 | <file value="OpenSim.32BitLaunch.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"/> |
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"/> |
diff --git a/bin/Robust.32BitLaunch.exe.config b/bin/Robust.32BitLaunch.exe.config index f2802a2..3bae9ec 100644 --- a/bin/Robust.32BitLaunch.exe.config +++ b/bin/Robust.32BitLaunch.exe.config | |||
@@ -21,9 +21,11 @@ | |||
21 | </layout> | 21 | </layout> |
22 | </appender> | 22 | </appender> |
23 | 23 | ||
24 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
25 | <file value="Robust.32BitLaunch.log" /> | 25 | <file value="Robust.32BitLaunch.log" /> |
26 | <appendToFile value="true" /> | 26 | <appendToFile value="true" /> |
27 | <rollingStyle value="Date" /> | ||
28 | <datePattern value="'.'yyyy-MM-dd"/> | ||
27 | <filter type="log4net.Filter.LoggerMatchFilter"> | 29 | <filter type="log4net.Filter.LoggerMatchFilter"> |
28 | <loggerToMatch value="special"/> | 30 | <loggerToMatch value="special"/> |
29 | <acceptOnMatch value="false"/> | 31 | <acceptOnMatch value="false"/> |
diff --git a/bin/Robust.exe.config b/bin/Robust.exe.config index 6ffdfef..889a964 100644 --- a/bin/Robust.exe.config +++ b/bin/Robust.exe.config | |||
@@ -21,9 +21,11 @@ | |||
21 | </layout> | 21 | </layout> |
22 | </appender> | 22 | </appender> |
23 | 23 | ||
24 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
25 | <file value="Robust.log" /> | 25 | <file value="Robust.log" /> |
26 | <appendToFile value="true" /> | 26 | <appendToFile value="true" /> |
27 | <rollingStyle value="Date" /> | ||
28 | <datePattern value="'.'yyyy-MM-dd"/> | ||
27 | <filter type="log4net.Filter.LoggerMatchFilter"> | 29 | <filter type="log4net.Filter.LoggerMatchFilter"> |
28 | <loggerToMatch value="special"/> | 30 | <loggerToMatch value="special"/> |
29 | <acceptOnMatch value="false"/> | 31 | <acceptOnMatch value="false"/> |