Add file logging for rsync xinetd service
Because rsyslog does not run inside rsync container, its log messages are lost. Added log rotation for new rsync.log file. Change-Id: Ie67018966315642526fa9a112590a559632d0118 Closes-bug: #1414604
This commit is contained in:
parent
345a98b34d
commit
a001e23e44
@ -5,7 +5,7 @@ service rsync
|
|||||||
wait = no
|
wait = no
|
||||||
user = root
|
user = root
|
||||||
server = /usr/bin/rsync
|
server = /usr/bin/rsync
|
||||||
server_args = --daemon
|
server_args = --daemon --log-file=/var/log/rsync.log
|
||||||
cps = 512 10
|
cps = 512 10
|
||||||
flags = IPv4
|
flags = IPv4
|
||||||
per_source = UNLIMITED
|
per_source = UNLIMITED
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"/var/log/docker-logs/mcollective.log"
|
"/var/log/docker-logs/mcollective.log"
|
||||||
"/var/log/docker-logs/messages"
|
"/var/log/docker-logs/messages"
|
||||||
"/var/log/docker-logs/ostf*.log"
|
"/var/log/docker-logs/ostf*.log"
|
||||||
|
"/var/log/docker-logs/rsync.log"
|
||||||
{
|
{
|
||||||
# This file is used for daily log rotations, do not use size options here
|
# This file is used for daily log rotations, do not use size options here
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"/var/log/docker-logs/mcollective.log"
|
"/var/log/docker-logs/mcollective.log"
|
||||||
"/var/log/docker-logs/messages"
|
"/var/log/docker-logs/messages"
|
||||||
"/var/log/docker-logs/ostf*.log"
|
"/var/log/docker-logs/ostf*.log"
|
||||||
|
"/var/log/docker-logs/rsync.log"
|
||||||
{
|
{
|
||||||
# This file is used for hourly log rotations, use (min)size options here
|
# This file is used for hourly log rotations, use (min)size options here
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
Loading…
Reference in New Issue
Block a user