<div dir="ltr">Max,<div><br></div><div>That is the purpose of the "multiple sinks" [1] feature Mark described. You can dispatch log messages to an entirely different sink, at compile-time via the parse_transform. If the sink is not configured, nothing will be logged; if you configure it with specific backends, they will take an entirely separate path from the default sink.</div><div><br></div><div>[1] <a href="https://github.com/basho/lager#sinks">https://github.com/basho/lager#sinks</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 23, 2015 at 6:06 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Is it possible with lager3 to tell to move completely some metadata-marked stream of messages to one backend and don't put it to other backends?</div><div class="gmail_extra"><br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>