[open-ils-commits] r11981 - branches/rel_1_4_0/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jan 26 15:03:01 EST 2009


Author: dbs
Date: 2009-01-26 15:02:57 -0500 (Mon, 26 Jan 2009)
New Revision: 11981

Modified:
   branches/rel_1_4_0/Open-ILS/examples/opensrf_core.xml.example
Log:
Backport r11979 from rel_1_4:
Use local log files rather than syslog by default.
Set default loglevel to 3 (Info) to avoid filling disk space of unsuspecting users.


Modified: branches/rel_1_4_0/Open-ILS/examples/opensrf_core.xml.example
===================================================================
--- branches/rel_1_4_0/Open-ILS/examples/opensrf_core.xml.example	2009-01-26 20:01:05 UTC (rev 11980)
+++ branches/rel_1_4_0/Open-ILS/examples/opensrf_core.xml.example	2009-01-26 20:02:57 UTC (rev 11981)
@@ -127,9 +127,12 @@
         <connect_timeout>10</connect_timeout>
         <max_reconnect_attempts>5</max_reconnect_attempts>
       </transport>
-      <logfile>syslog</logfile>
-      <syslog>local2</syslog>
-      <loglevel>5</loglevel>
+      <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
+      <!--
+        <logfile>syslog</logfile>
+        <syslog>local2</syslog>
+      -->
+      <loglevel>3</loglevel>
     </router>
     <router>
       <!-- private router -->
@@ -149,9 +152,12 @@
         <connect_timeout>10</connect_timeout>
         <max_reconnect_attempts>5</max_reconnect_attempts>
       </transport>
-      <logfile>syslog</logfile>
-      <syslog>local2</syslog>
-      <loglevel>4</loglevel>
+      <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
+      <!--
+        <logfile>syslog</logfile>
+        <syslog>local2</syslog>
+      -->
+      <loglevel>3</loglevel>
     </router>
   </routers>
   <!-- ======================================================================================== -->



More information about the open-ils-commits mailing list