Stopping log4erl

3 views
Skip to first unread message

kenrobinson

unread,
Aug 16, 2010, 10:17:03 AM8/16/10
to Log4erl
Hi,
First, thanks for this nice logger. For me it neatly fills up a space
I feel is lacking in Erlang.

I am presently using it as my logger in an Erlang app. My problem is
stopping it cleanly. I've tried log4erl.stop(use_any_atom).

When I fire up appmon I still see it as a running app. Is there any
way I can stop log4erl?

regards,
Ken

Ahmed Ali

unread,
Aug 17, 2010, 1:50:30 AM8/17/10
to kenrobi...@gmail.com, log...@googlegroups.com
Hi there,

How do you actually start log4erl? I would suggest you use
> application:start(log4erl).
and
> application:stop(log4erl).
to start/stop log4erl. I've tried it with appmon and I could see
log4erl appear/disappear in the list of running applications. Please
try it and then let me know.

BR,

Ahmed

> --
> You received this message because you are subscribed to the Google Groups "Log4erl" group.
> To post to this group, send email to log...@googlegroups.com.
> To unsubscribe from this group, send email to log4erl+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/log4erl?hl=en.
>
>

kenrobinson

unread,
Aug 22, 2010, 4:02:19 AM8/22/10
to Log4erl
Hi Ahmed,
I've done as you suggested by using a boot file which generates the
starting and stopping. It nows stops cleanly.
many thanks
Ken Robinson.

On Aug 17, 3:50 pm, Ahmed Ali <ahmed.naw...@gmail.com> wrote:
> Hi there,
>
> How do you actually start log4erl? I would suggest you use> application:start(log4erl).
> and
> > application:stop(log4erl).
>
> to start/stop log4erl. I've tried it with appmon and I could see
> log4erl appear/disappear in the list of running applications. Please
> try it and then let me know.
>
> BR,
>
> Ahmed
>
Reply all
Reply to author
Forward
0 new messages