[erlang-questions] Configuring SASL

Kirill Zaborski <>
Sun Jun 10 15:32:43 CEST 2007


OK, I see in error_logger:info_msg(Format, Data) to post 'normal' events.
But I do not understand how to get error_logger_mf_h installed.
In docs (http://www.erlang.org/doc/man/sasl_app.html) I see 3 types of
error_logger but for sasl_error_logger there are 3 values one of which is no
logger at all.
Do I miss something?

Best regards,
Kirill

On 6/10/07, t ty <> wrote:
>
> Use the error_logger module for 'normal' program logging.
>
> Or if you want to get fancy the gen_event module. For gen_event usage
> look into the OTP doc examples.
>
> t
>
> On 6/10/07, 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?
> >
> > BTW It looks like SASL is used for supervision/crash logging and what if
> I
> > want to use "normal" program logging - is there any standard way to do
> this?
> >
> > Best regards,
> >  Kirill.
> >
> >
> > On 6/10/07, Gunilla Arendt <> wrote:
> > > If you use "erl -boot start_sasl", SASL is started from the boot
> > > script and the sasl.app file is never read. If this is the case,
> > > you have to regenerate the boot script first.
> > >
> > > Regards,
> > > Gunilla
> > >
> > > Kirill Zaborski wrote:
> > > > Can anyone explain how can I configure SASL?
> > > > I've tried to change sasl.app file in lib folder of my Erlang
> > > > distribution but with no success.
> > > > What do I do wrong?
> > > >
> > > > Best regards,
> > > > Kirill.
> > > > _______________________________________________
> > > > erlang-questions mailing list
> > > > 
> > > > http://www.erlang.org/mailman/listinfo/erlang-questions
> > > >
> > >
> > > _______________________________________________
> > > erlang-questions mailing list
> > > 
> > > http://www.erlang.org/mailman/listinfo/erlang-questions
> > >
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > 
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070610/e7c28ca7/attachment.html>


More information about the erlang-questions mailing list