[erlang-questions] Configuring SASL
Serge Aleynikov
saleyn@REDACTED
Mon Jun 11 14:19:21 CEST 2007
In order to install the error_logger_mf_h handler you must define all
three config options:
error_logger_mf_h
error_logger_mf_maxbytes
error_logger_mf_maxfiles
For each one of them the documentation rightfully says: "If this
parameter is undefined, the error_logger_mf_h is not installed."
Serge
Kirill Zaborski 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.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 <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
>> >
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list