Description: Changes in etc files the path of the log files
Author: Jorge Salamero Sanz <bencer@cauterized.net>

--- a/etc/c2s.xml.dist.in
+++ b/etc/c2s.xml.dist.in
@@ -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@/@package@/log/c2s.log</file>
-    -->
+
+    <file>/var/log/jabberd2/c2s.log</file>
+
 
     <!-- Filename of the debug logfile -->
     <!--
--- a/etc/router.xml.dist.in
+++ b/etc/router.xml.dist.in
@@ -8,7 +8,7 @@
   <pidfile>@localstatedir@/@package@/pid/${id}.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@/@package@/log/router.log</file>
-    -->
+
+    <file>/var/log/jabberd2/router.log</file>
+
 
     <!-- Filename of the debug logfile -->
     <!--
--- a/etc/s2s.xml.dist.in
+++ b/etc/s2s.xml.dist.in
@@ -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@/@package@/log/s2s.log</file>
-    -->
+
+    <file>/var/log/jabberd2/s2s.log</file>
+
 
     <!-- Filename of the debug logfile -->
     <!--
--- a/etc/sm.xml.dist.in
+++ b/etc/sm.xml.dist.in
@@ -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/sm</ident>
 
@@ -59,9 +59,9 @@
     <facility>local3</facility>
 
     <!-- If logging to file, this is the filename of the logfile -->
-    <!--
-    <file>@localstatedir@/@package@/log/sm.log</file>
-    -->
+
+    <file>/var/log/jabberd2/sm.log</file>
+
 
     <!-- Filename of the debug logfile -->
     <!--
