Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rabbit_prelaunch_early_logging: Configure
rabbit_log
as a Logger ha…
…ndler Currently, when the new Logger API exposed by Erlang is being used by an application, messages are lost once Lager is configured. That is because Lager does not know about Logger in this context. To fix this, `rabbit_log` is configured as a Logger handler which calls Lager API. This means that Logger messages are passed to Lager. Logger's log level is to set to pass all messages (including debug). Message routing/filtering is done by Lager instead. This change depends on new log/2 function being added to the `rabbit_log` module in rabbitmq-common.
- Loading branch information