[erlang-questions] lager_trunc_io

Andrew Thompson <>
Fri Jan 18 12:44:09 CET 2013


On Fri, Jan 18, 2013 at 09:12:36AM +0100, Steve Strong wrote:
> Hi All,  
> 
> Having a strange one with some lager logging, and hopping someone might have seen it before…  In the last couple of days I've spotted a few crashes in my logs that I've not seen before.  In my console log, I get:
> 
> <snip>
> 2013-01-17 14:56:44.712 [error] <0.46.0> gen_server lager_crash_log terminated with reason: bad argument in call to lager_trunc_io:format("FORMAT ERROR: ~p ~p", ["** Generic server ~p terminating \
> \n** Last message in was ~p~n** When Server state == ~p~n** R...",...]) line 66 in lager_crash_log:do_log/2 line 189
> 

Looks like a bug... somewhere. Not sure how that is happening, but I'll
try to look after I'm done traveling. Can you file an issue against
basho/lager so we can track it there?

Andrew



More information about the erlang-questions mailing list