directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject Re: [ApacheDS] System.out message about server state
Date Fri, 10 Apr 2009 07:16:16 GMT
Yeah, I think thoses listeners can be a very good idea.They will be helpful
in embedded mode if one needs to be notified when a service starts and
stops.

+1!

P-A

On Fri, Apr 10, 2009 at 9:02 AM, Emmanuel Lecharny <elecharny@apache.org>wrote:

> > It's just a matter of adding a few lines in the already existing Log4J
> > configuration file.
> > And, as I said, since Studio and the launched server will not run under
> the
> > same JVM, i'm affraid it's not possible to use the listeners.
>
> The idea to add those listeners in the API is still a good idea. In
> your case, you just have to implement those listeners to get the
> message and System.out them.
>
> However, if you think that it's enough to deal with log4j, then we can
> also just remove those System.out in the server and transform them to
> log.info("blah");
>
> It's up to you guys !
> --
> Regards,
> Cordialement,
> Emmanuel L├ęcharny
> www.iktek.com
>

Mime
View raw message