Oops..<br>Docs are somewhat confusing here:<br>"If this
parameter is undefined or <code>false</code>,
the <code>error_logger_mf_h</code> is not installed." and that's for 3 params. Quite tricky.<br>Thanks for your help.<br>Regarding independent log_mf_h - what I was just trying to do is set up SASL and RB and get it working. In user manual there is no hints how to do it.
<br><br>Regards,<br>Kirill<br><br><br><div><span class="gmail_quote">On 6/11/07, <b class="gmail_sendername">t ty</b> <<a href="mailto:tty.erlang@gmail.com">tty.erlang@gmail.com</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;">
If you look at the sasl module doc it indicates that error_logger_mf_h<br>is installed if<br>error_logger_mf_dir is set to some string, otherwise it isn't<br>installed. i.e. it does so automatically for you.<br><br>For error_logger messages you will also need to set
<br>error_logger:logfile/1 to have it logged to file.<br><br>t<br><br>On 6/10/07, Kirill Zaborski <<a href="mailto:qrilka@gmail.com">qrilka@gmail.com</a>> wrote:<br>> OK, I see in error_logger:info_msg(Format, Data) to post 'normal' events.
<br>> But I do not understand how to get error_logger_mf_h installed.<br>> In docs ( <a href="http://www.erlang.org/doc/man/sasl_app.html">http://www.erlang.org/doc/man/sasl_app.html</a>) I<br>> see 3 types of error_logger but for sasl_error_logger there are 3 values one
<br>> of which is no logger at all.<br>> Do I miss something?<br>><br>> Best regards,<br>> Kirill<br>><br>> On 6/10/07, t ty <<a href="mailto:tty.erlang@gmail.com">tty.erlang@gmail.com</a>> wrote:
<br>> > Use the error_logger module for 'normal' program logging.<br>> ><br>> > Or if you want to get fancy the gen_event module. For gen_event usage<br>> > look into the OTP doc examples.<br>
> ><br>> > t<br>> ><br>> > On 6/10/07, Kirill Zaborski < <a href="mailto:qrilka@gmail.com">qrilka@gmail.com</a>> wrote:<br>> > > Nope, I simply run"erl" but it looks like it uses default
start.boot and<br>> it<br>> > > 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<br>> > > working. I've used -config option and specified report directory but now
<br>> rb<br>> > > complains "cannot read the index file" and I see no information about it<br>> in<br>> > > documentation :(<br>> > > How can I get rb working?<br>> > ><br>
> > > BTW It looks like SASL is used for supervision/crash logging and what if<br>> I<br>> > > want to use "normal" program logging - is there any standard way to do<br>> this?<br>> > >
<br>> > > Best regards,<br>> > > Kirill.<br>> > ><br>> > ><br>> > > On 6/10/07, Gunilla Arendt <<a href="mailto:gunilla@erix.ericsson.se">gunilla@erix.ericsson.se</a>> wrote:
<br>> > > > If you use "erl -boot start_sasl", SASL is started from the boot<br>> > > > script and the sasl.app file is never read. If this is the case,<br>> > > > you have to regenerate the boot script first.
<br>> > > ><br>> > > > Regards,<br>> > > > Gunilla<br>> > > ><br>> > > > Kirill Zaborski wrote:<br>> > > > > Can anyone explain how can I configure SASL?
<br>> > > > > I've tried to change sasl.app file in lib folder of my Erlang<br>> > > > > distribution but with no success.<br>> > > > > What do I do wrong?<br>> > > > >
<br>> > > > > Best regards,<br>> > > > > Kirill.<br>> > > > > _______________________________________________<br>> > > > > erlang-questions mailing list<br>> > > > >
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>> > > > ><br>> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions
</a><br>> > > > ><br>> > > ><br>> > > > _______________________________________________<br>> > > > erlang-questions mailing list<br>> > > > <a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br>> > > ><br>> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>> > > ><br>> > >
<br>> > ><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>> > ><br>> ><br>><br>><br></blockquote></div><br>