[erlang-questions] When does lager logs into crash.log?
Fri Jan 22 17:54:26 CET 2016
I've set lager with the following options:
and had a function with deliberate error:
dummy = application:get_env(myapp, test).
This results in badmatch. But there is no entry in crash.log. I had
configured another log file warning.log that gets populated with a
one-liner but I would like to see the detailed report in crash.log.
What am I missing? Do I understand correctly that crash.log should
contain detailed report of all crashes?
I also tried with lager:critical() and crash.log doesn't get populated.
More information about the erlang-questions