summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysklogd/files/syslog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sysklogd/files/syslog.conf')
-rw-r--r--meta/recipes-extended/sysklogd/files/syslog.conf71
1 files changed, 71 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysklogd/files/syslog.conf b/meta/recipes-extended/sysklogd/files/syslog.conf
new file mode 100644
index 0000000000..0849de1268
--- /dev/null
+++ b/meta/recipes-extended/sysklogd/files/syslog.conf
@@ -0,0 +1,71 @@
1# /etc/syslog.conf Configuration file for syslogd.
2#
3# Ported from debian by Yu Ke <ke.yu@intel.com>
4#
5
6#
7# First some standard logfiles. Log by facility.
8#
9
10auth,authpriv.* /var/log/auth.log
11*.*;auth,authpriv.none -/var/log/syslog
12#cron.* /var/log/cron.log
13daemon.* -/var/log/daemon.log
14kern.* -/var/log/kern.log
15lpr.* -/var/log/lpr.log
16mail.* -/var/log/mail.log
17user.* -/var/log/user.log
18
19#
20# Logging for the mail system. Split it up so that
21# it is easy to write scripts to parse these files.
22#
23mail.info -/var/log/mail.info
24mail.warn -/var/log/mail.warn
25mail.err /var/log/mail.err
26
27# Logging for INN news system
28#
29news.crit /var/log/news.crit
30news.err /var/log/news.err
31news.notice -/var/log/news.notice
32
33#
34# Some `catch-all' logfiles.
35#
36*.=debug;\
37auth,authpriv.none;\
38news.none;mail.none -/var/log/debug
39
40*.=info;*.=notice;*.=warn;\
41auth,authpriv.none;\
42cron,daemon.none;\
43mail,news.none -/var/log/messages
44
45#
46# Emergencies are sent to everybody logged in.
47#
48*.emerg *
49
50#
51# I like to have messages displayed on the console, but only on a virtual
52# console I usually leave idle.
53#
54#daemon,mail.*;\
55#news.=crit;news.=err;news.=notice;\
56#*.=debug;*.=info;\
57#*.=notice;*.=warn /dev/tty8
58
59# The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
60# you must invoke `xconsole' with the `-file' option:
61#
62# $ xconsole -file /dev/xconsole [...]
63#
64# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
65# busy site..
66#
67daemon.*;mail.*;\
68news.err;\
69*.=debug;*.=info;\
70*.=notice;*.=warn |/dev/xconsole
71