[erlang-questions] any way to avoid *.config file for sasl?

Magnus Henoch <>
Thu Nov 1 12:36:05 CET 2012


Motiejus Jakštys <> writes:

> Is there any other way to change that value in a running system, before
> starting sasl?

You can load sasl before setting the variable:

Erlang R15B (erts-5.9) [source] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.9  (abort with ^G)
1> application:load(sasl).
ok
2> application:set_env(sasl, sasl_error_logger, false).
ok
3> application:start(sasl).
ok
4> application:get_env(sasl, sasl_error_logger).
{ok,false}


Regards,
Magnus



More information about the erlang-questions mailing list