On Mon, Nov 19, 2012 at 8:34 PM, Jason van Zyl <ja...@tesla.io> wrote: > > On Nov 19, 2012, at 8:29 PM, Benson Margulies <bimargul...@gmail.com> wrote: > >> Do we have, right now, either: >> >> 1) A way of mapping java-commons-logging to the mojo log API, or >> > > Do you mean commons-logging, JUL, or both? There are ways to adapt both to > SLF4J.
The former, but it doesn't matter. If I add a dependency, in a plugin, that uses commons-logging, I want to map the log messages from that dependency to the mojo log, so that they look right even with Maven 3.0.x. I appreciate that as of 3.1 I can just use the usual jcl-over-slf4j (or jul or whatever) and the messages will end up in the right-ish place, though not associated with the mojo. I was hoping for plugin code calls (e.g.) CXF code calls SLF4J calls something-we-lack calls mojo log calls SLF4J calls SLF4J-simple (in 3.1) and plugin code calls (e.g.) CXF code calls SLF4J calls something-we-lack calls mojo log calls whatever we have today (in 2.x or 3.0.x) > >> 2) A way of mapping slf4j to the mojo log? >> > > Mojo.getLog() feeds into SLF4J with the code on trunk. > >> ? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> > > Thanks, > > Jason > > ---------------------------------------------------------- > Jason van Zyl > Founder & CTO, Sonatype > Founder, Apache Maven > http://twitter.com/jvanzyl > --------------------------------------------------------- > > In short, man creates for himself a new religion of a rational > and technical order to justify his work and to be justified in it. > > -- Jacques Ellul, The Technological Society > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org