File: put-logfiles-in-var-log-ulog.patch

package info (click to toggle)
ulogd2 2.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,932 kB
  • sloc: ansic: 13,019; sh: 4,674; sql: 2,302; makefile: 197; perl: 90
file content (72 lines) | stat: -rw-r--r-- 1,470 bytes parent folder | download
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
Description: Update logfile paths to log to /var/log/ulog/*
 The standard configuration file sends logs to a number of files under
 /var/log/. To keep things tidy, including the logrotate script, move all the
 logs into a common parent directory.
Forwarded: not-needed
Author: Chris Boot <bootc@debian.org>
Last-Update: 2013-04-27

--- a/ulogd.conf.in
+++ b/ulogd.conf.in
@@ -175,25 +175,25 @@
 socket_path="/tmp/nuauth_ulogd2.sock"
 
 [emu1]
-file="/var/log/ulogd_syslogemu.log"
+file="/var/log/ulog/syslogemu.log"
 sync=1
 
 [op1]
-file="/var/log/ulogd_oprint.log"
+file="/var/log/ulog/oprint.log"
 sync=1
 
 [gp1]
-file="/var/log/ulogd_gprint.log"
+file="/var/log/ulog/gprint.log"
 sync=1
 timestamp=1
 
 [xml1]
-directory="/var/log/"
+directory="/var/log/ulog/"
 sync=1
 
 [json1]
 sync=1
-#file="/var/log/ulogd.json"
+#file="/var/log/ulog/ulogd.json"
 #timestamp=0
 # device name to be used in JSON message
 #device="My awesome Netfilter firewall"
@@ -218,7 +218,7 @@
 
 [pcap1]
 #default file is /var/log/ulogd.pcap
-#file="/var/log/ulogd.pcap"
+#file="/var/log/ulog/ulogd.pcap"
 sync=1
 
 [mysql1]
@@ -303,18 +303,18 @@
 
 [sqlite3_ct]
 table="ulog_ct"
-db="/var/log/ulogd.sqlite3db"
+db="/var/log/ulog/ulogd.sqlite3db"
 
 [sqlite3_pkt]
 table="ulog_pkt"
-db="/var/log/ulogd.sqlite3db"
+db="/var/log/ulog/ulogd.sqlite3db"
 
 [sys2]
 facility=LOG_LOCAL2
 
 [nacct1]
 sync = 1
-#file = /var/log/ulogd_nacct.log
+#file = /var/log/ulog/nacct.log
 
 [mark1]
 mark = 1