@MaxRAF

Что означает этот комментарий в rsyslog.conf?

Всем привет.

В самом низу файла /etc/rsyslog.conf есть такие строки . По крайней мере в CentOS 7 они есть.

# ### 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.
#$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 ###


Мне не понятно, что имеется ввиду под
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!
  • Вопрос задан
  • 197 просмотров
Пригласить эксперта
Ответы на вопрос 1
martin74ua
@martin74ua Куратор тега Linux
Linux administrator
переводчик сломался? ок
строки между begin и end определяют одно правило форварда. Не разделяйте строки, не разносите. Если вам нужны еще правила - скопируйте блок целиком.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы