Re: Logging in components

2007-07-13 Thread John Casey
yeah, that'd probably do it. It seems like I had a similar problem once in the assembly plugin, and wound up excluding the component-api dependency from the plexus-container-default artifact. It may need to be declared as provided...not sure. Anyhow, I was having trouble with the Contextual

Re: Logging in components

2007-07-13 Thread Mark Hobson
On 13/07/07, John Casey <[EMAIL PROTECTED]> wrote: I you implement LogEnabled or extend AbstractLogEnabled (I prefer the former), plexus will populate the logger when it initializes the component, prior to use. This is what I would have expected - I did try this initially but the logger ended u

Re: Logging in components

2007-07-13 Thread John Casey
I you implement LogEnabled or extend AbstractLogEnabled (I prefer the former), plexus will populate the logger when it initializes the component, prior to use. HTH, -john On Jul 13, 2007, at 9:13 AM, Mark Hobson wrote: Hi, I want to add some debug logging to the dependency tree shared c

Logging in components

2007-07-13 Thread Mark Hobson
Hi, I want to add some debug logging to the dependency tree shared component which is used in the dependency:tree goal. Is the preferred way for the component to extend LogEnabled, and if so, is there any way of getting the log set automatically by plexus? The alternative would be for the mojo