log from a plugin

2008-08-27 Thread Julien CARSIQUE
Hi, How to instantiate a logger from code which do not access to mojo.getLog() ? If I use SystemStreamLog logger, my debugging logs are always displayed. What's the right way to get logger, except passing it from the mojo through all classes and methods calls ? Thanks, PS : I've read in

Re: log from a plugin

2008-08-27 Thread Jochen Wiedmann
On Wed, Aug 27, 2008 at 12:22 PM, Julien CARSIQUE [EMAIL PROTECTED] wrote: What's the right way to get logger, except passing it from the mojo through all classes and methods calls ? Put it in a ThreadLocal. Jochen -- Look, that's why there's rules, understand? So that you think before you