saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
31
syslog-ng/._cfg0000_scl.conf
Normal file
31
syslog-ng/._cfg0000_scl.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
#############################################################################
|
||||
# Copyright (c) 2010-2014 BalaBit IT Ltd, Budapest, Hungary
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License version 2 as published
|
||||
# by the Free Software Foundation, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As an additional exemption you are allowed to compile & link against the
|
||||
# OpenSSL libraries as published by the OpenSSL project. See the file
|
||||
# COPYING for details.
|
||||
#
|
||||
#############################################################################
|
||||
#
|
||||
# This file is placed into /etc/syslog-ng in order to make it trivial to
|
||||
# include in user written syslog-ng.conf files. It sets up 'scl-root' and
|
||||
# `include-path`, then includes all SCL supplied plugins.
|
||||
#
|
||||
|
||||
@define scl-root "`syslog-ng-data`/include/scl"
|
||||
@define include-path "`include-path`:`syslog-ng-data`/include"
|
||||
|
||||
@include 'scl/*/plugin.conf'
|
||||
37
syslog-ng/._cfg0001_syslog-ng.conf
Normal file
37
syslog-ng/._cfg0001_syslog-ng.conf
Normal file
@@ -0,0 +1,37 @@
|
||||
@version: 3.6
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.6/syslog-ng.conf.gentoo,v 1.1 2014/11/09 08:10:43 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=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);
|
||||
# The default action of syslog-ng is to log a MARK line
|
||||
# to the file every 20 minutes. That's seems high for most
|
||||
# people so turn it down to once an hour. Set it to zero
|
||||
# if you don't want the functionality at all.
|
||||
mark_freq(3600);
|
||||
};
|
||||
|
||||
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); };
|
||||
Reference in New Issue
Block a user