~ubuntu-branches/ubuntu/trusty/syslog-ng/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/examples/syslog-ng.conf.sample

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS), Gergely Nagy
  • Date: 2011-10-11 14:30:48 UTC
  • mfrom: (1.3.7)
  • Revision ID: package-import@ubuntu.com-20111011143048-r1iljux9xbvj3lwh
Tags: 3.3.1.dfsg-1
* New upstream release with important fixes from upstream git tree with
  non-free manpages removed.
* Drop syslog-ng.conf(5) (closes: #496521).
* syslog-ng(8) is generated, and does not mention -Q anymore
  (closes: #616069).
* Supports CAP_SYSLOG on recent kernels (closes: #630172).
* Does not use g_timeout_add_seconds anymore (closes: #609154).

[ Gergely Nagy <algernon@madhouse-project.org> ]
* Update debian/copyright to DEP-5 format.
* Simplified the logrotate file by merging identical entries.
* Include local configuration files from /etc/syslog-ng/conf.d/ (Closes:
  #609050).
* Update syslog-ng.conf to be fully 3.3 compliant.
* Compress both source and binaries (except the syslog-ng meta
  package) with xz, instead of gzip.
* Use dpkg triggers to restart syslog-ng when appropriate.
* Include DFSG-free manual pages for all binaries.
* Build with Hardening enabled.
* Mention syslog(3) in /etc/default/syslog-ng, instead of
  <linux/kernel.h> (Closes: #608605)
* Support 'status' in the init script.
  Patch from Peter Eisentraut <petere@debian.org> (Closes: #644458)
* Build-Depend on libevtlog-dev (>= 0.2.12-5~) for correct shlibs.
* Use [linux-any] in Build-Depends instead of hardcoded links.
  (Closes: #634715)
* Use $SYSLOGNG_OPTS in the init script when reloading syslog-ng.
  (Closes: #589081)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Syslog-ng example configuration for for Debian GNU/Linux
3
 
#
4
 
# Copyright (c) 1999 anonymous
5
 
# Copyright (c) 1999 Balazs Scheidler
6
 
# $Id: syslog-ng.conf.sample,v 1.3 2003/05/20 08:57:27 asd Exp $
7
 
#
8
 
# Syslog-ng configuration file, compatible with default Debian syslogd
9
 
# installation. 
10
 
#
11
 
 
12
 
options { long_hostnames(off); sync(0); };
13
 
 
14
 
source src { unix-stream("/dev/log"); internal(); };
15
 
source net { udp(); };
16
 
 
17
 
destination authlog { file("/var/log/auth.log"); };
18
 
destination syslog { file("/var/log/syslog"); };
19
 
destination cron { file("/var/log/cron.log"); };
20
 
destination daemon { file("/var/log/daemon.log"); };
21
 
destination kern { file("/var/log/kern.log"); };
22
 
destination lpr { file("/var/log/lpr.log"); };
23
 
destination user { file("/var/log/user.log"); };
24
 
destination uucp { file("/var/log/uucp.log"); };
25
 
destination ppp { file("/var/log/ppp.log"); };
26
 
destination mail { file("/var/log/mail.log"); };
27
 
 
28
 
destination mailinfo { file("/var/log/mail.info"); };
29
 
destination mailwarn { file("/var/log/mail.warn"); };
30
 
destination mailerr { file("/var/log/mail.err"); };
31
 
 
32
 
destination newscrit { file("/var/log/news/news.crit"); };
33
 
destination newserr { file("/var/log/news/news.err"); };
34
 
destination newsnotice { file("/var/log/news/news.notice"); };
35
 
 
36
 
destination debug { file("/var/log/debug"); };
37
 
destination messages { file("/var/log/messages"); };
38
 
destination console { usertty("root"); };
39
 
destination console_all { file("/dev/tty12"); };
40
 
#destination loghost { udp("loghost" port(999)); };
41
 
 
42
 
 
43
 
destination xconsole { pipe("/dev/xconsole"); };
44
 
 
45
 
filter f_auth { facility(auth); };
46
 
filter f_authpriv { facility(auth, authpriv); };
47
 
filter f_syslog { not facility(authpriv, mail); };
48
 
filter f_cron { facility(cron); };
49
 
filter f_daemon { facility(daemon); };
50
 
filter f_kern { facility(kern); };
51
 
filter f_lpr { facility(lpr); };
52
 
filter f_mail { facility(mail); };
53
 
filter f_user { facility(user); };
54
 
filter f_uucp { facility(cron); };
55
 
filter f_ppp { facility(local2); };
56
 
filter f_news { facility(news); };
57
 
filter f_debug { not facility(auth, authpriv, news, mail); };
58
 
filter f_messages { level(info..warn) 
59
 
        and not facility(auth, authpriv, mail, news); };
60
 
filter f_emergency { level(emerg); };
61
 
 
62
 
filter f_info { level(info); };
63
 
filter f_notice { level(notice); };
64
 
filter f_warn { level(warn); };
65
 
filter f_crit { level(crit); };
66
 
filter f_err { level(err); };
67
 
 
68
 
log { source(src); filter(f_authpriv); destination(authlog); };
69
 
log { source(src); filter(f_syslog); destination(syslog); };
70
 
log { source(src); filter(f_cron); destination(cron); };
71
 
log { source(src); filter(f_daemon); destination(daemon); };
72
 
log { source(src); filter(f_kern); destination(kern); };
73
 
log { source(src); filter(f_lpr); destination(lpr); };
74
 
log { source(src); filter(f_mail); destination(mail); };
75
 
log { source(src); filter(f_user); destination(user); };
76
 
log { source(src); filter(f_uucp); destination(uucp); };
77
 
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
78
 
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
79
 
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
80
 
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
81
 
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
82
 
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
83
 
log { source(src); filter(f_debug); destination(debug); };
84
 
log { source(src); filter(f_messages); destination(messages); };
85
 
log { source(src); filter(f_emergency); destination(console); };
86
 
log { source(src); filter(f_ppp); destination(ppp); };
87
 
log { source(src); destination(console_all); };
88
 
 
89