Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 01db0803e895fc840a9d3c32e2c6cf0c > files > 2

jabber2-2.2.8-3mdv2010.0.src.rpm

diff -p -up jabberd-2.2.8/etc/c2s.xml.dist.in.log jabberd-2.2.8/etc/c2s.xml.dist.in
--- jabberd-2.2.8/etc/c2s.xml.dist.in.log	2009-05-26 23:08:21.000000000 +0200
+++ jabberd-2.2.8/etc/c2s.xml.dist.in	2009-05-26 23:09:24.000000000 +0200
@@ -50,7 +50,7 @@
   </router>
 
   <!-- Log configuration - type is "syslog", "file" or "stdout" -->
-  <log type='syslog'>
+  <log type='file'>
     <!-- If logging to syslog, this is the log ident -->
     <ident>jabberd/c2s</ident>
 
@@ -59,9 +59,9 @@
     <facility>local3</facility>
 
     <!-- If logging to file, this is the filename of the logfile -->
-    <!--
-    <file>@localstatedir@/jabberd/log/c2s.log</file>
-    -->
+
+    <file>/var/log/jabberd/c2s.log</file>
+
   </log>
 
   <!-- Local network configuration -->
diff -p -up jabberd-2.2.8/etc/router.xml.dist.in.log jabberd-2.2.8/etc/router.xml.dist.in
--- jabberd-2.2.8/etc/router.xml.dist.in.log	2009-05-26 23:06:47.000000000 +0200
+++ jabberd-2.2.8/etc/router.xml.dist.in	2009-05-26 23:08:04.000000000 +0200
@@ -8,7 +8,7 @@
   <pidfile>/var/run/jabberd/router.pid</pidfile>
 
   <!-- Log configuration - type is "syslog", "file" or "stdout" -->
-  <log type='syslog'>
+  <log type='file'>
     <!-- If logging to syslog, this is the log ident -->
     <ident>jabberd/router</ident>
 
@@ -17,9 +17,9 @@
     <facility>local3</facility>
 
     <!-- If logging to file, this is the filename of the logfile -->
-    <!--
-    <file>@localstatedir@/jabberd/log/router.log</file>
-    -->
+
+    <file>/var/log/jabberd/router.log</file>
+
   </log>
 
   <!-- Local network configuration -->
diff -p -up jabberd-2.2.8/etc/s2s.xml.dist.in.log jabberd-2.2.8/etc/s2s.xml.dist.in
--- jabberd-2.2.8/etc/s2s.xml.dist.in.log	2009-05-26 23:09:36.000000000 +0200
+++ jabberd-2.2.8/etc/s2s.xml.dist.in	2009-05-26 23:10:28.000000000 +0200
@@ -60,7 +60,7 @@
   </router>
 
   <!-- Log configuration - type is "syslog", "file" or "stdout" -->
-  <log type='syslog'>
+  <log type='file'>
     <!-- If logging to syslog, this is the log ident -->
     <ident>jabberd/s2s</ident>
 
@@ -69,9 +69,9 @@
     <facility>local3</facility>
 
     <!-- if logging to file, this is the filename of the logfile -->
-    <!--
-    <file>@localstatedir@/jabberd/log/s2s.log</file>
-    -->
+
+    <file>/var/log/jabberd/s2s.log</file>
+
   </log>
 
   <!-- Local network configuration -->
diff -p -up jabberd-2.2.8/etc/sm.xml.dist.in.log jabberd-2.2.8/etc/sm.xml.dist.in
--- jabberd-2.2.8/etc/sm.xml.dist.in.log	2009-05-26 23:10:39.000000000 +0200
+++ jabberd-2.2.8/etc/sm.xml.dist.in	2009-05-26 23:11:31.000000000 +0200
@@ -52,7 +52,7 @@
   </router>
 
   <!-- Log configuration - type is "syslog", "file" or "stdout" -->
-  <log type='syslog'>
+  <log type='file'>
     <!-- If logging to syslog, this is the log ident -->
     <ident>jabberd/sm</ident>
 
@@ -61,9 +61,9 @@
     <facility>local3</facility>
 
     <!-- If logging to file, this is the filename of the logfile -->
-    <!--
-    <file>@localstatedir@/jabberd/log/sm.log</file>
-    -->
+
+    <file>/var/log/jabberd/sm.log</file>
+
   </log>
 
   <!-- Storage database configuration -->