[erlang-questions] Lager 3.0 coming soon
Mon Jun 1 21:10:25 CEST 2015
Basho has been working on an update to lager to support multiple event sinks so different behaviors can be configured based on type of message. Security audit information, for example, may have different needs than general event messages.
Because this introduces some subtle backwards compatibility issues with lager's tracing mechanism, we're going to roll this into a new major version of lager, 3.0, along with several community PRs.
Specifically, the backwards compatibility problems with tracing:
* Traces are sink-specific and thus will not be able to see messages destined for other sinks
* Tracing to a log file that is already open for lager will only work if targeting the same sink; otherwise an error will be returned to the trace request
If you're curious about the performance impact of these changes, we have been benchmarking our work. The results look good.
We are also opening a maintenance 2.x branch with updates (and a few bug fixes) for the current 2.1.1 release which includes support and test suite fixes for OTP 17 but without any of the new 3.0 semantics/behavior.
If you'd like to kick the tires, we have tagged a 3.0.0 release candidate, which should make it easy for you to take it for a spin.
Please feel free to contact us with thoughts on lager 3.0, either via GitHub issues/comments on PRs or by replying to this thread.
More information about the erlang-questions