[erlang-questions] Configuring SASL

Kirill Zaborski qrilka@REDACTED
Mon Jun 11 11:25:43 CEST 2007


Thanks, Gunilla.
Now I understand but still I think that setting some 3 parameters installing
other type of error_logger which can not be specified directly in the
corresponding parameter is quite far from obvious.

Regards,
Kirill.

On 6/11/07, Gunilla Arendt <gunilla@REDACTED> wrote:
>
> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070611/77c3a48c/attachment.htm>


More information about the erlang-questions mailing list