File: configure-logging.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 (22 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Tweak log destination and loglevel in ulogd.conf.in
 Send logging for ulogd itself to syslog rather than to file (not for iptables
 logging), and explicitly set loglevel to info.
Forwarded: not-needed
Author: Chris Boot <bootc@debian.org>
Last-Update: 2013-04-27

--- ulogd2-2.0.2.orig/ulogd.conf.in
+++ ulogd2-2.0.2/ulogd.conf.in
@@ -8,10 +8,10 @@
 
 
 # logfile for status messages
-logfile="/var/log/ulogd.log"
+logfile="syslog"
 
 # loglevel: debug(1), info(3), notice(5), error(7) or fatal(8) (default 5)
-# loglevel=1
+loglevel=3
 
 ######################################################################
 # PLUGIN OPTIONS