Re: log from a plugin
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 break 'em. -- (Terry Pratchett, Thief of Time) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
log from a plugin
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 http://maven.apache.org/guides/plugin/guide-java-plugin-development.html the "Retrieving the Mojo Logger" chapter but it only tell what mustn't be done, not what to do in such a case - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]