Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Traces from config file do not work if same file backend is not used for a handler #158

Open
srijan opened this Issue · 0 comments

1 participant

@srijan

lager_app:add_configured_traces/0 calls lager:trace/3 to add the configured traces, which does not handle the case of the file backend not installed. So, those traces don't work.

Either add_configured_traces/0 should call lager:trace_file/3 in case of lager_file_backend, or trace/3 should handle file backend same as trace_file/3.

If someone can tell me what is the preferred structure, I can also send a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.