[open-ils-commits] r11979 - branches/rel_1_4/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jan 26 14:56:10 EST 2009


Author: dbs
Date: 2009-01-26 14:56:06 -0500 (Mon, 26 Jan 2009)
New Revision: 11979

Modified:
   branches/rel_1_4/Open-ILS/examples/opensrf_core.xml.example
Log:
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/Open-ILS/examples/opensrf_core.xml.example
===================================================================
--- branches/rel_1_4/Open-ILS/examples/opensrf_core.xml.example	2009-01-26 19:47:30 UTC (rev 11978)
+++ branches/rel_1_4/Open-ILS/examples/opensrf_core.xml.example	2009-01-26 19:56:06 UTC (rev 11979)
@@ -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