djust default config file
This commit is contained in:
parent
6a5d467a50
commit
502ec1b9d0
49
rsyslog.conf
49
rsyslog.conf
@ -1,23 +1,7 @@
|
||||
#rsyslog v3 config file
|
||||
|
||||
|
||||
#### GLOBAL DIRECTIVES ####
|
||||
|
||||
# Use default timestamp format
|
||||
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
||||
|
||||
# File syncing capability is disabled by default. This feature is usually not required,
|
||||
# not useful and an extreme performance hit
|
||||
#$ActionFileEnableSync on
|
||||
|
||||
# An "In-Memory Queue" is created for remote logging.
|
||||
# $WorkDirectory /var/spool/rsyslog # where to place spool files
|
||||
# $ActionQueueFileName queue # unique name prefix for spool files
|
||||
# $ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
|
||||
# $ActionQueueSaveOnShutdown on # save messages to disk on shutdown
|
||||
# $ActionQueueType LinkedList # run asynchronously
|
||||
# $ActionResumeRetryCount -1 # infinety retries if host is down
|
||||
|
||||
# if you experience problems, check
|
||||
# http://www.rsyslog.com/troubleshoot for assistance
|
||||
|
||||
#### MODULES ####
|
||||
|
||||
@ -34,6 +18,16 @@ $ModLoad imklog.so # provides kernel logging support (previously done by rklogd)
|
||||
#$InputTCPServerRun 514
|
||||
|
||||
|
||||
#### GLOBAL DIRECTIVES ####
|
||||
|
||||
# Use default timestamp format
|
||||
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
||||
|
||||
# File syncing capability is disabled by default. This feature is usually not required,
|
||||
# not useful and an extreme performance hit
|
||||
#$ActionFileEnableSync on
|
||||
|
||||
|
||||
#### RULES ####
|
||||
|
||||
# Log all kernel messages to the console.
|
||||
@ -63,3 +57,22 @@ uucp,news.crit /var/log/spooler
|
||||
# Save boot messages also to boot.log
|
||||
local7.* /var/log/boot.log
|
||||
|
||||
|
||||
|
||||
# ### begin forwarding rule ###
|
||||
# The statement between the begin ... end define a SINGLE forwarding
|
||||
# rule. They belong together, do NOT split them. If you create multiple
|
||||
# forwarding rules, duplicate the whole block!
|
||||
# Remote Logging (we use TCP for reliable delivery)
|
||||
#
|
||||
# An on-disk queue is created for this action. If the remote host is
|
||||
# down, messages are spooled to disk and sent when it is up again.
|
||||
#$WorkDirectory /var/spppl/rsyslog # where to place spool files
|
||||
#$ActionQueueFileName fwdRule1 # unique name prefix for spool files
|
||||
#$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
|
||||
#$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
|
||||
#$ActionQueueType LinkedList # run asynchronously
|
||||
#$ActionResumeRetryCount -1 # infinite retries if host is down
|
||||
# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
|
||||
#*.* @@remote-host:514
|
||||
# ### end of the forwarding rule ###
|
||||
|
@ -3,7 +3,7 @@
|
||||
Summary: Enhanced system logging and kernel message trapping daemons
|
||||
Name: rsyslog
|
||||
Version: 3.19.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.rsyslog.com/
|
||||
@ -191,6 +191,9 @@ fi
|
||||
%{_libdir}/rsyslog/lmnsd_gtls.so
|
||||
|
||||
%changelog
|
||||
* Mon Jul 14 2008 Peter Vrabec <pvrabec@redhat.com> 3.19.9-2
|
||||
- adjust default config file
|
||||
|
||||
* Fri Jul 11 2008 Lubomir Rintel <lkundrak@v3.sk> 3.19.9-1
|
||||
- upgrade
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user