[erlang-questions] Disabling error reporting
Dominic Williams
xpdoka@REDACTED
Fri Jan 19 17:00:48 CET 2007
Hi Joel,
> How do I prevent these from printing while my test harness is running?
You need to set {error_logger, false} or {error_logger, file, "MyFile"} in
the kernel
application. Details depend on how you start the node on which the tests run.
If you start it by hand, you do:
erl -kernel error_logger false
If you start a slave node:
slave:start(myhost, mynode, "-kernel error_logger false").
Otherwise in a .app file (check app(3) documentation).
Cheers,
Dominic Williams
http://www.dominicwilliams.net
----
More information about the erlang-questions
mailing list