tags:

views:

143

answers:

2

When my app crashes, I get a crash report that takes 5 minutes to scroll by. What's the best way to handle this?

A: 

Just configure your logger.

Hynek -Pichi- Vychodil
he probably needed more detail than that :-)
Jeremy Wall
+1  A: 

You could pipe the crash dump to a file. The important information is probably at the top.

You could do what Hynek was saying above and configure a sasl error logger handler for the crash dumps: http://erlang.org/doc/man/sasl%5Fapp.html

The default is tty which dumps to your screen and is not terribly helpful as you mentioned. But you could specify that it should use the sasl_report_file_h instead. Then the dump gets logged to a file for easier perusal.

Additional Links:

Jeremy Wall