[erlang-questions] Lager & Common Test question

Oleg Tsarev <>
Mon Nov 10 10:17:10 CET 2014


Hi,

I have found solution already - it is common_test_backend from lager.
By the way, on link that you reference you have no words about
common_test_backend.
I found it by chance.

Best Regards, Oleg

On Mon, Nov 10, 2014 at 10:29 AM, Minin Maxim <>
wrote:

> You have to configure lager's backends for your purpose  - see
> https://github.com/basho/lager#configuration
>
>
>
> Regards
>
> Maxim
>
>
>
> *Von:*  [mailto:
> ] *Im Auftrag von *Oleg Tsarev
> *Gesendet:* Sonntag, 9. November 2014 22:25
> *An:* 
> *Betreff:* [erlang-questions] Lager & Common Test question
>
>
>
> Hello!
>
>
>
> I use lager + common test.
>
> I configured lager for output to console.
>
>
>
> During test lager calls print output to my terminal, and test-related log
> is empty.
>
> io:format works as I want - no output in my terminal, only in test-related
> log.
>
>
>
> How I can configure lager for see lager outputs in the log file instead of
> terminal?
>
>
>
> Best regards, Oleg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141110/9ce0e259/attachment.html>


More information about the erlang-questions mailing list