LP#1343578: document <logtag> in the example opensrf_core.xml
authorGalen Charlton <gmc@esilibrary.com>
Wed, 20 Aug 2014 21:00:17 +0000 (14:00 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 20 Aug 2014 21:00:17 +0000 (14:00 -0700)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
examples/opensrf_core.xml.example

index 30a94fa..aacf933 100644 (file)
@@ -55,6 +55,12 @@ vim:et:ts=2:sw=2:
     <syslog>local2</syslog>
     <actlog>local1</actlog>
     -->
     <syslog>local2</syslog>
     <actlog>local1</actlog>
     -->
+    <!-- Optional log tag.  You can use this to help distinguish
+         syslog entries when running multiple OpenSRF stacks on the
+         same server. -->
+    <!--
+    <logtag>instance1</logtag>
+    -->
 
     <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
     <loglevel>3</loglevel>
 
     <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
     <loglevel>3</loglevel>
@@ -118,6 +124,9 @@ vim:et:ts=2:sw=2:
             <logfile>syslog</logfile>
             <syslog>local2</syslog>
             -->
             <logfile>syslog</logfile>
             <syslog>local2</syslog>
             -->
+            <!--
+            <logtag>instance1</logtag>
+            -->
             <loglevel>2</loglevel>
         </router>
         <router> <!-- private router -->
             <loglevel>2</loglevel>
         </router>
         <router> <!-- private router -->
@@ -140,6 +149,9 @@ vim:et:ts=2:sw=2:
             <logfile>syslog</logfile>
             <syslog>local2</syslog>
             -->
             <logfile>syslog</logfile>
             <syslog>local2</syslog>
             -->
+            <!--
+            <logtag>instance1</logtag>
+            -->
             <loglevel>4</loglevel>
         </router>
     </routers>
             <loglevel>4</loglevel>
         </router>
     </routers>