diff options
| author | Luke Bakken <lbakken@pivotal.io> | 2019-12-09 11:13:30 -0800 |
|---|---|---|
| committer | Luke Bakken <lbakken@pivotal.io> | 2019-12-09 11:17:30 -0800 |
| commit | 4c71cb6568c68fef1c94624b212f3357450a7f73 (patch) | |
| tree | 945f831e41850ec9c375be12219e1bf3a05dc193 /scripts | |
| parent | 8600e543e384470f972d81238a94449433ea0645 (diff) | |
| download | rabbitmq-server-git-4c71cb6568c68fef1c94624b212f3357450a7f73.tar.gz | |
Ensure syslog application is started when used as backend
Fixes #2044
Fixes #2044
To test -
* Clone https://github.com/lukebakken/rabbitmq-server-2044
* Ensure `syslog-ng` is in your `PATH`, then run `run-syslog-ng.sh`
* Start RabbitMQ using `rabbitmq.config`
* Run the following to log using the federation sink:
```
rabbit_federation_link_util:log_debug(rabbit_misc:r(<<"/">>, exchange), "TEST TEST ~s", [bar]).
```
Without this patch, nothing will be sent to the local `syslog-ng`
server. Also, running `application:which_applications()` will not show
that `syslog` is started. Applying this patch will fix both.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
