1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
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 -->
<!--
|