erlang-lager / lager

A logging framework for Erlang/OTP
Apache License 2.0
1.12k stars 456 forks source link

lager is disabling logger default handler #492

Open benoitc opened 5 years ago

benoitc commented 5 years ago

i commented https://github.com/erlang-lager/lager/commit/9f8d7a705ef5e2e263f1b1b549ec8ba4d3f59a36#commitcomment-32283777 but since #481 any upstream application that rely on a library that forces the usage of lager doesn't log any more to the default handler when using logger. I would have expected to have them redirected like with the error_logger module.

Maybe using a logger handler that pass the input to lager would work?

tpitale commented 5 years ago

I removed lager (and exometer) just because of this. Not saying that's a solution for everyone, but it did fix issues for me.

g-andrade commented 5 years ago

I've also encountered this issue. Any solution on the road map?