Backport r11979 from rel_1_4:
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Jan 2009 20:02:57 +0000 (20:02 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Jan 2009 20:02:57 +0000 (20:02 +0000)
Use local log files rather than syslog by default.
Set default loglevel to 3 (Info) to avoid filling disk space of unsuspecting users.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@11981 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/opensrf_core.xml.example

index a629369..9b9ecd9 100644 (file)
@@ -127,9 +127,12 @@ Example OpenSRF bootstrap configuration file for Evergreen
         <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 @@ Example OpenSRF bootstrap configuration file for Evergreen
         <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>
   <!-- ======================================================================================== -->