[erlang-questions] Configuring SASL
Gunilla Arendt
gunilla@REDACTED
Mon Jun 11 10:35:59 CEST 2007
Kirill Zaborski wrote:
> Nope, I simply run"erl" but it looks like it uses default start.boot and
> it includes sasl options so sasl.app does not get read.
> Actually I'm playing around with sasl/rb and at the moment can not get
> it working. I've used -config option and specified report directory but
> now rb complains "cannot read the index file" and I see no information
> about it in documentation :(
> How can I get rb working?
An example:
% erl -boot start_sasl -sasl error_logger_mf_dir '"junk"'
error_logger_mf_maxbytes 1000 error_logger_mf_maxfiles 3
Erlang (BEAM) emulator version 5.5.4.3 [async-threads:0] [hipe]
[kernel-poll:false]
=PROGRESS REPORT==== 11-Jun-2007::09:30:07 ===
...
Eshell V5.5.4.3 (abort with ^G)
1> gen_event:which_handlers(error_logger).
[log_mf_h,sasl_report_tty_h,error_logger,error_logger_tty_h]
2> error_logger:info_report("testing testing").
=INFO REPORT==== 11-Jun-2007::09:30:41 ===
testing testing
ok
3> rb:start().
rb: reading report...done.
rb: reading report...done.
rb: reading report...done.
=PROGRESS REPORT==== 11-Jun-2007::10:31:09 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.44.0>},
{name,rb_server},
{mfa,{rb,start_link,[[]]}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
{ok,<0.44.0>}
4> rb:list().
No Type Process Date Time
== ==== ======= ==== ====
6 progress <0.29.0> 2007-06-11 09:30:07
5 progress <0.29.0> 2007-06-11 09:30:07
4 progress <0.29.0> 2007-06-11 09:30:07
3 progress <0.29.0> 2007-06-11 09:30:07
2 progress <0.22.0> 2007-06-11 09:30:07
1 info_report <0.23.0> 2007-06-11 09:30:41
ok
/ Gunilla
More information about the erlang-questions
mailing list