mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add syslog_facility parameter handling with systemd.journal (#41078)
* Add syslog_facility parameter handling with systemd.journal - Fixed issue #41072 Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
committed by
Toshio Kuratomi
parent
89cea78e30
commit
d7df072b96
@@ -54,6 +54,14 @@ Modules
|
||||
|
||||
Major changes in popular modules are detailed here
|
||||
|
||||
* The :ref:`DEFAULT_SYSLOG_FACILITY` configuration option tells Ansible modules to use a specific
|
||||
`syslog facility <https://en.wikipedia.org/wiki/Syslog#Facility>`_ when logging information on all
|
||||
managed machines. Due to a bug with older Ansible versions, this setting did not affect machines
|
||||
using journald with the systemd Python bindings installed. On those machines, Ansible log
|
||||
messages were sent to ``/var/log/messages``, even if you set :ref:`DEFAULT_SYSLOG_FACILITY`.
|
||||
Ansible 2.7 fixes this bug, routing all Ansible log messages according to the value set for
|
||||
:ref:`DEFAULT_SYSLOG_FACILITY`. If you have :ref:`DEFAULT_SYSLOG_FACILITY` configured, the
|
||||
location of remote logs on systems which use journald may change.
|
||||
|
||||
|
||||
Modules removed
|
||||
|
||||
Reference in New Issue
Block a user