More admin clean up...
[working/Evergreen.git] / 1.6 / admin / AdminMisc.xml
index 8811cf2..33f6f6e 100644 (file)
                        threshold of time or size has been reached and rotates the log files if a threshold condition has been met.</para>\r
                        <para>To teach <systemitem class="service">logrotate</systemitem> to rotate Evergreen logs on a weekly basis, or if they are > 50MB in size, \r
                        create a new file <filename>/etc/logrotate.d/evergreen</filename> with the following contents: </para>\r
-                       <programlisting>\r
-                       compress\r
-                       /openils/var/log/*.log {\r
-                       # keep the last 4 archived log files along with the current log file\r
                       # log log.1.gz log.2.gz log.3.gz log.4.gz\r
                       # and delete the oldest log file (what would have been log.5.gz)\r
-                       rotate 5\r
-                       # if the log file is > 50MB in size, rotate it immediately\r
-                       size 50M\r
                       # for those logs that don't grow fast, rotate them weekly anyway\r
-                         weekly\r
-                       }\r
-                       </programlisting>\r
+<programlisting>\r
+compress\r
+/openils/var/log/*.log {\r
+# keep the last 4 archived log files along with the current log file\r
+ # log log.1.gz log.2.gz log.3.gz log.4.gz\r
+ # and delete the oldest log file (what would have been log.5.gz)\r
+rotate 5\r
+# if the log file is > 50MB in size, rotate it immediately\r
+size 50M\r
+ # for those logs that don't grow fast, rotate them weekly anyway\r
+  weekly\r
+}\r
+</programlisting>\r
                </simplesect>\r
                <simplesect>\r
                        <title>Changing Logging Level for <application>Evergreen</application></title>\r