FIXBUG: add rsyslog.conf
This commit is contained in:
parent
667ada2402
commit
8c9cfee125
|
@ -0,0 +1,28 @@
|
|||
# Provides support for local system logging (e.g. via logger command).
|
||||
module(load="imuxsock")
|
||||
|
||||
# Receive messages from remote host via UDP
|
||||
# for parameters see http://www.rsyslog.com/doc/imudp.html
|
||||
module(load="imudp") # needs to be done just once
|
||||
input(
|
||||
type="imudp"
|
||||
port="514"
|
||||
)
|
||||
|
||||
# send all to remote
|
||||
$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
|
||||
*.* @@_syslog.dalembert.upmc.fr
|
||||
|
||||
# Sets default permissions for all log files.
|
||||
$FileOwner root
|
||||
$FileGroup adm
|
||||
$FileCreateMode 0640
|
||||
$DirCreateMode 0755
|
||||
$Umask 0022
|
||||
# send all to messages
|
||||
*.* -/var/log/messages
|
||||
|
Loading…
Reference in New Issue