[erlang-questions] Lager trace_file filter

Janos Hary janos.n.hary@REDACTED
Sun Feb 3 23:36:35 CET 2013


Hi All,

 

Is there a way to specify 'orelse' relation between lager:trace_file
filters?

 

For example I'd like to allow trace messages coming only from module mod1
and mod2:

lager:trace_file("log/trace.log", [{module, mod1}, {module, mod2}])

but it doesn't work.

 

Thanks,

Janos

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130203/67701aeb/attachment.htm>


More information about the erlang-questions mailing list