[99s-extend] SOLVED -- Re: "access.log" for Cowboy

Ivan Uemlianin ivan at llaisdy.com
Wed May 15 13:40:47 CEST 2013


Thanks!  I got that working.

When I start cowboy, I call

   {ok, Trace} = lager:trace_file("path/to//access.log",
                                 [{type, access}]),

When you say

 > Since 353dd21fde tracing is configurable.

Do you mean the above could go in a .config file?  I haven't found 
anything to that effect.  I'll keep looking.

Best wishes

Ivan


On 15/05/2013 12:09, Adam Rutkowski wrote:
>
> On 15 May 2013, at 12:56, Ivan Uemlianin wrote:
>>
>> Is anyone doing something like this now?  I think it's not an unusual pattern with web servers.  Can I do this with lager (i.e., send only messages at level X, not level X or above)?  Is there a more appropriate logging mechanism?
>
> See lager's tracing feature. You can tag your messages and redirect them to a specific backend.
> Since 353dd21fde tracing is configurable.
>
> A.
>

-- 
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

                     ivan at llaisdy.com
                      www.llaisdy.com
                          llaisdy.wordpress.com
               github.com/llaisdy
                      www.linkedin.com/in/ivanuemlianin

                         festina lente
============================================================



More information about the Extend mailing list