sasl logging events

Joseph Wayne Norton norton at
Wed Dec 29 08:43:44 EST 2010

sasl logging events can be quite noisy ... especially while running eunit tests.

Is there any (recommended) way to globally disable these events via rebar?

The following patch works well but it might not be appropriate for all use cases.


diff --git a/bootstrap b/bootstrap
index 5be3183..4a6dcd5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -62,7 +62,7 @@ main(Args) ->
         {ok, {"mem", ZipBin}} ->
             %% Archive was successfully created. Prefix that binary with our
             %% header and write to "rebar" file
-            Script = <<"#!/usr/bin/env escript\n%%! -noshell -noinput\n", ZipBin/binary>>,
+            Script = <<"#!/usr/bin/env escript\n%%! -noshell -noinput -sasl errlog_type error\n", ZipBin/
             case file:write_file("rebar", Script) of
                 ok ->

Joseph Wayne Norton
norton at

More information about the rebar mailing list