File: syslog.conf.SAMPLE

package info (click to toggle)
xwatch 2.11-10
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 404 kB
  • ctags: 76
  • sloc: ansic: 853; makefile: 113
file content (61 lines) | stat: -rw-r--r-- 2,481 bytes parent folder | download | duplicates (9)
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
# bambix:/conf/net/syslog.conf (/etc/syslog.conf) pwp 96 08 05
#
# NOTE:
#   - columns must be separated by at least one TAB
#   - maximum of 20 active lines in this file
#     (otherwise syslogd will die with a segmentation fault)!
#
# See the tail of this file for syntax instructions.

# Kernel: info and higher to /var/log/kernel
#         warning and higher written to all logged-in users
kern.info		/var/log/kernel
kern.warning		/var/log/critical

# Authentification: info and higher to /var/log/auth
auth.info		/var/log/auth

# Printing: err and higher to /var/log/lpr
lpr.err			/var/log/lpr

# Sendmail: info, notice and warning to /var/log/sendmail
mail.=info;mail.=notice;mail.=warning		/var/log/sendmail

# Name daemon: debug (yuck!), info, notice and warning to /var/log/daemon.log
daemon.=debug;daemon.=info;daemon.=notice;daemon.=warning	/var/log/daemon.log

# Catch-all for criticals, except for the kern, auth and lpr services
mail.err;daemon.err;news.err;user.crit;cron.crit	/var/log/critical

############################################################################
# Information about the format of the syslog file.
############################################################################
# For info about the format of this file, see "man syslog.conf"
# and /usr/doc/sysklogd/README.linux.

# Lines have the format
#   selector <TAB>s action
# selector is
#   facility.level [ ; facility.level ]
#
# Facility is one of:
#   user, kern, mail, daemon, auth, lpr, news, uucp, cron,
#   mark (timestamp), local0-local7 (user-defined), * (all except mark)
#
# Level is (lowest to higest priority):
#   none, debug, info, notice, warning, err, crit, alert, emerg
# Priority none is no logging.
# Selecting a level (e.g. auth.info) means log that level (info) and all
# higher levels (notice ... emerg) for the given facility (auth).
# Level can also be preceeded by an =. This means: log only that level.
# For example: auth.=notice logs only the notice level for auth.
# A level of * is equivalent of debug.
#
# Action is:
#   - a file or device (should start with leading slash):
#        information is appended to file, or written to the device
#   - a comma separated list of usernames or a *:
#       information is written (using the write program) to
#       the specified users resp. all (when the * is specified).
#   - an @ followed by a hostname: send to host's syslog
#############################################################################