[erlang-questions] Configuring SASL

Kirill Zaborski qrilka@REDACTED
Sun Jun 10 22:39:13 CEST 2007


Oops..
Docs are somewhat confusing here:
"If this parameter is undefined or false, the error_logger_mf_h is not
installed." and that's for 3 params. Quite tricky.
Thanks for your help.
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.

Regards,
Kirill


On 6/11/07, t ty <tty.erlang@REDACTED> wrote:
>
> If you look at the sasl module doc it indicates that error_logger_mf_h
> is installed if
> error_logger_mf_dir is set to some string, otherwise it isn't
> installed. i.e. it does so automatically for you.
>
> For error_logger messages you will also need to set
> error_logger:logfile/1 to have it logged to file.
>
> t
>
> On 6/10/07, Kirill Zaborski <qrilka@REDACTED> wrote:
> > 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 <tty.erlang@REDACTED> 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 < qrilka@REDACTED> wrote:
> > > > Nope, I simply run"erl" but it looks like it uses default start.bootand
> > 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 <gunilla@REDACTED> 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
> > > > > > erlang-questions@REDACTED
> > > > > >
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > erlang-questions mailing list
> > > > > erlang-questions@REDACTED
> > > > >
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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/2b2a9c15/attachment.htm>


More information about the erlang-questions mailing list