소스 검색

Revert "Use log-rolling on the log files (once per day)"

This reverts commit 8ecab21b379d34f97ac966b13e1605024364142b.
Oren Hurvitz 10 년 전
부모
커밋
14a7ddb885
4개의 변경된 파일32개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 2
      bin/OpenSim.32BitLaunch.exe.config
  2. 8 2
      bin/OpenSim.exe.config
  3. 8 2
      bin/Robust.32BitLaunch.exe.config
  4. 8 2
      bin/Robust.exe.config

+ 8 - 2
bin/OpenSim.32BitLaunch.exe.config

@@ -23,11 +23,17 @@
       </layout>
     </appender>
 
+<!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
     <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
-      <file value="OpenSim.32BitLaunch.log" />
-      <appendToFile value="true" />
+      <file value="log/OpenSim.32BitLaunch.log" />
       <rollingStyle value="Date" />
       <datePattern value="'.'yyyy-MM-dd"/>
+      ...
+-->
+
+    <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
+      <file value="OpenSim.32BitLaunch.log" />
+      <appendToFile value="true" />
       <filter type="log4net.Filter.LoggerMatchFilter">
         <loggerToMatch value="special"/>
         <acceptOnMatch value="false"/>

+ 8 - 2
bin/OpenSim.exe.config

@@ -23,11 +23,17 @@
       </layout>
     </appender>
 
+<!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
     <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
-      <file value="OpenSim.log" />
-      <appendToFile value="true" />
+      <file value="log/OpenSim.log" />
       <rollingStyle value="Date" />
       <datePattern value="'.'yyyy-MM-dd"/>
+      ...
+-->
+
+    <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
+      <file value="OpenSim.log" />
+      <appendToFile value="true" />
       <filter type="log4net.Filter.LoggerMatchFilter">
         <loggerToMatch value="special"/>
         <acceptOnMatch value="false"/>

+ 8 - 2
bin/Robust.32BitLaunch.exe.config

@@ -21,11 +21,17 @@
       </layout>
     </appender>
 
+<!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
     <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
-      <file value="Robust.32BitLaunch.log" />
-      <appendToFile value="true" />
+      <file value="log/Robust.32BitLaunch.log" />
       <rollingStyle value="Date" />
       <datePattern value="'.'yyyy-MM-dd"/>
+      ...
+-->
+
+    <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
+      <file value="Robust.32BitLaunch.log" />
+      <appendToFile value="true" />
       <filter type="log4net.Filter.LoggerMatchFilter">
         <loggerToMatch value="special"/>
         <acceptOnMatch value="false"/>

+ 8 - 2
bin/Robust.exe.config

@@ -21,11 +21,17 @@
       </layout>
     </appender>
 
+<!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender:
     <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
-      <file value="Robust.log" />
-      <appendToFile value="true" />
+      <file value="log/Robust.log" />
       <rollingStyle value="Date" />
       <datePattern value="'.'yyyy-MM-dd"/>
+      ...
+-->
+
+    <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
+      <file value="Robust.log" />
+      <appendToFile value="true" />
       <filter type="log4net.Filter.LoggerMatchFilter">
         <loggerToMatch value="special"/>
         <acceptOnMatch value="false"/>