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 <[email protected]>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 >
