How do I log all process crashes into a file instead of a tty ? I've read in the documentation that there are some standard Erlang modules that can do it (SASL, error_logger), but unfortunately haven't found any clean examples.
+4
A:
Start your erl node with
erl -boot start_sasl -sasl sasl_error_logger \{file,\"path/to/logfile.log\"\}
gleber
2010-03-23 15:12:42