diff options
author | Luke Bakken <lbakken@pivotal.io> | 2020-09-28 09:38:33 -0700 |
---|---|---|
committer | Michael Klishin <michael@clojurewerkz.org> | 2020-09-29 12:58:55 +0300 |
commit | 938a97528e3f1485f2ec6f3e7fdc4b58b89f2a74 (patch) | |
tree | 6404e8d9afeaff0dfb7f56530a3f86d556e356b4 | |
parent | 119d2c3fcf77ff7fad428fb0e4150005e9ca581d (diff) | |
download | rabbitmq-server-git-938a97528e3f1485f2ec6f3e7fdc4b58b89f2a74.tar.gz |
Explicitly start syslog application
Between RabbitMQ 3.8.3 and 3.8.4 logging to `syslog` broke because the
`syslog` OTP application was no longer started when needed. This is
probably due to changes in #2180.
This change explicitly starts the `syslog` app if the backend is configured.
Found while investigating this issue:
https://groups.google.com/forum/?oldui=1#!topic/rabbitmq-users/-aqS2BiHm4k
-rw-r--r-- | src/rabbit_lager.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_lager.erl b/src/rabbit_lager.erl index 0202dc1b50..f56a143350 100644 --- a/src/rabbit_lager.erl +++ b/src/rabbit_lager.erl @@ -407,7 +407,7 @@ generate_handler(Backend, HandlerConfig) -> lists:ukeysort(1, default_handler_config(Backend)))}]. configure_handler_backend(syslog_lager_backend) -> - app_utils:load_applications([syslog]); + app_utils:start_applications([syslog]); configure_handler_backend(_Backend) -> ok. |