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

Jachym Holecek freza@REDACTED
Thu Nov 1 12:34:15 CET 2012


# Motiejus Jak?tys 2012-11-01:
> That means that if I want to change the value of sasl_error_logger, I
> *must* use -config FILE when starting Erlang.

You can also set env from command line:

  # erl -sasl sasl_error_logger false
  Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [kernel-poll:false]

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

BR,
	-- Jachym



More information about the erlang-questions mailing list