Сравнение постов

Различия между постами #178069 (29.04.2021 17:16) и #201634 (26.06.2021 15:38).
1
@version: 3.26
2
#
3
# Syslog-ng default configuration file for Gentoo Linux
4
5
# https://bugs.gentoo.org/426814
6
@include "scl.conf"
7
8
options {
9
	threaded(yes);
10
	chain_hostnames(no);
11
12
	# The default action of syslog-ng is to log a STATS line
13
	# to the file every 10 minutes.  That's pretty ugly after a while.
14
	# Change it to every 12 hours so you get a nice daily update of
15
	# how many messages syslog-ng missed (0).
16
	stats_freq(43200);
17
	# The default action of syslog-ng is to log a MARK line
18
	# to the file every 20 minutes.  That's seems high for most
19
	# people so turn it down to once an hour.  Set it to zero
20
	# if you don't want the functionality at all.
21
	mark_freq(3600);
22
};
23
24
source src { system(); internal(); };
25
26
destination messages { file("/var/log/messages"); };
27
28
# By default messages are logged to tty12...
29
#destination console_all { file("/dev/tty12"); };
30
# ...if you intend to use /dev/console for programs like xconsole
31
# you can comment out the destination line above that references /dev/tty12
32
# and uncomment the line below.
33
#destination console_all { file("/dev/console"); };
34
35
log { source(src); destination(messages); };