Thanks, Gunilla.<br>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.<br><br>
Regards,<br>Kirill.<br><br><div><span class="gmail_quote">On 6/11/07, <b class="gmail_sendername">Gunilla Arendt</b> <<a href="mailto:gunilla@erix.ericsson.se">gunilla@erix.ericsson.se</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Kirill Zaborski wrote:<br> > Nope, I simply run"erl" but it looks like it uses default start.boot and<br> > it includes sasl options so sasl.app does not get read.<br> > Actually I'm playing around with sasl/rb and at the moment can not get
<br> > it working. I've used -config option and specified report directory but<br> > now rb complains "cannot read the index file" and I see no information<br> > about it in documentation :(<br> > How can I get rb working?
<br><br>An example:<br><br>% erl -boot start_sasl -sasl error_logger_mf_dir '"junk"'<br>error_logger_mf_maxbytes 1000 error_logger_mf_maxfiles 3<br>Erlang (BEAM) emulator version <a href="http://5.5.4.3">
5.5.4.3</a> [async-threads:0] [hipe]<br>[kernel-poll:false]<br><br><br>=PROGRESS REPORT==== 11-Jun-2007::09:30:07 ===<br>...<br><br>Eshell V5.5.4.3  (abort with ^G)<br>1> gen_event:which_handlers(error_logger).<br>[log_mf_h,sasl_report_tty_h,error_logger,error_logger_tty_h]
<br><br>2> error_logger:info_report("testing testing").<br><br>=INFO REPORT==== 11-Jun-2007::09:30:41 ===<br>testing testing<br>ok<br><br>3> rb:start().<br>rb: reading report...done.<br>rb: reading report...done.
<br>rb: reading report...done.<br><br>=PROGRESS REPORT==== 11-Jun-2007::10:31:09 ===<br>           supervisor: {local,sasl_sup}<br>              started: [{pid,<0.44.0>},<br>                        {name,rb_server},
<br>                        {mfa,{rb,start_link,[[]]}},<br>                        {restart_type,temporary},<br>                        {shutdown,brutal_kill},<br>                        {child_type,worker}]<br>{ok,<0.44.0
>}<br><br>4> rb:list().<br>   No                Type   Process       Date     Time<br>   ==                ====   =======       ====     ====<br>    6            progress  <0.29.0> 2007-06-11 09:30:07<br>    5            progress  <
0.29.0> 2007-06-11 09:30:07<br>    4            progress  <0.29.0> 2007-06-11 09:30:07<br>    3            progress  <0.29.0> 2007-06-11 09:30:07<br>    2            progress  <0.22.0> 2007-06-11 09:30:07
<br>    1         info_report  <0.23.0> 2007-06-11 09:30:41<br>ok<br><br>/ Gunilla<br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>