mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-admin/syslog-ng: remove deprecated marking configuration
As explained on the linked bug marking has been deprecated for a long time and is disabled by default. Closes: https://bugs.gentoo.org/905366 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43248 Closes: https://github.com/gentoo/gentoo/pull/43248 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
c76516c716
commit
31ca2d17a1
31
app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r2
Normal file
31
app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r2
Normal file
@ -0,0 +1,31 @@
|
||||
@version: @SYSLOGNG_VERSION@
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
# https://bugs.gentoo.org/426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats(freq(43200));
|
||||
};
|
||||
|
||||
source src { system(); internal(); };
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
# By default messages are logged to tty12...
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
# ...if you intend to use /dev/console for programs like xconsole
|
||||
# you can comment out the destination line above that references /dev/tty12
|
||||
# and uncomment the line below.
|
||||
#destination console_all { file("/dev/console"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
||||
log { source(src); destination(console_all); };
|
||||
@ -104,7 +104,7 @@ src_prepare() {
|
||||
done
|
||||
|
||||
for f in syslog-ng.conf.gentoo.hardened.in-r1 \
|
||||
syslog-ng.conf.gentoo.in-r1; do
|
||||
syslog-ng.conf.gentoo.in-r2; do
|
||||
sed -e "s/@SYSLOGNG_VERSION@/$(ver_cut 1-2)/g" "${FILESDIR}/${f}" > "${T}/${f/.in-r1/}" || die
|
||||
done
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user