module_common.py
31.1 KB
-
Make logging to journal match what goes to syslog on non-systemd hosts · cdb7f8ec
This makes the log message the same, whether it is sent to systemd's journal or to syslog. It retains the extra fields that are passed to journal, such as MOUDLE=<name> and additional arguments. Since journal will reflect messages to syslog, this keeps what goes to syslog informative instead of the terse 'Ansible module invoked'. See issue #2461.
Stephen Fromm committed