lager icon indicating copy to clipboard operation
lager copied to clipboard

lager is disabling logger default handler

Open benoitc opened this issue 5 years ago • 2 comments

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?

benoitc avatar Feb 12 '19 13:02 benoitc

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

tpitale avatar Feb 12 '19 17:02 tpitale

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

g-andrade avatar Aug 11 '19 22:08 g-andrade