rabbitmq / rabbitmq-common

Common library used by rabbitmq-server and rabbitmq-erlang-client
Other
66 stars 112 forks source link

Use new logger #312

Closed fenollp closed 5 years ago

fenollp commented 5 years ago

This project depends on lager right now. It'd be nice if it'd use the built in OTP logger instead, available since OTP22.

michaelklishin commented 5 years ago

It would be pretty nice but there are many practical issues with that for us. We cannot require OTP 21.3 before 3.8.0. Even then, the new OTP logger does not support several Lager features and it's not extensible to the same degree. For example, we support logging to Syslog easily with Lager.

The new logger is also anything but mature. So perhaps one day it would be suitable as a Lager replacement for RabbitMQ but not today.