Lager failed after long sleep of computer #109

Merged
merged 1 commit into from Mar 14, 2013

3 participants

@maxlapshin

I've started erlang application with lager, closed laptop, opened and saw:

06:23:10.131 <0.56.0> gen_server lager_crash_log terminated with reason: bad argument in call to erlang:'++'(false, ".3") in lager_util:rotate_logfile/2 line 198
06:23:10.132 <0.56.0> CRASH REPORT Process lager_crash_log with 0 neighbours exited with reason: bad argument in call to erlang:'++'(false, ".3") in lager_util:rotate_logfile/2 line 198 in gen_server:terminate/6 line 747
06:23:10.133 <0.53.0> Supervisor lager_sup had child lager_crash_log started with lager_crash_log:start_link(false, 16384, 1048576, [{hour,4}], 5) at <0.56.0> exit with reason bad argument in call to erlang:'++'(false, ".3") in lager_util:rotate_logfile/2 line 198 in context child_terminated

It is revision e749242

Is it still a bug and I need to collect more information about it?

@Vagabond

What was your config for the 'crash_log' lager app env? Was it 'false' by chance?

@maxlapshin
@Vagabond

Ok, so you're supposed to set it to 'undefined' if you don't want the crash log. However, I'll also allow 'false' as an option.

@macshonle macshonle was assigned Mar 13, 2013
@Vagabond Vagabond merged commit 0009753 into master Mar 14, 2013

1 check failed

Details default The Travis build failed
@seancribbs seancribbs deleted the adt-crash-log-false branch Apr 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment