> In the case of Cargo does it fork by default and there the logging is all > self-contained by virtue of running in its own VM?
To be honest I don't know. I think it doesn't fork, but I could be wrong. But it doesn't really matter, Cargo was just one example. But after having spent some more time thinking about it I recall that I in the beginning of my Cargo days I actually was confused about where the container logging went. So it might actually be better to route to the console by default and give the user the possibility to configure the logging levels. In any case, I think that would be a good place to start and then add more advanced possibilities if needed. Keep it simple. /Anders > > On Oct 12, 2012, at 8:12 AM, Anders Hammar <and...@hammar.net> wrote: > >>> In the context of Maven, is there any added value in pluging having a >>> separated logging environment? If there is no added value, then merged >>> logging is the way to go. >> >> Could one possible case be a plugin which embeds some "framework" >> which uses slf4j to log to it's own log file(s)? And in this case you >> might want to keep the original framework's default logging behavior. >> Don't know of such case in reality, but it popped to my mind thinking >> about how the Cargo plugin works. It embeds an app server or web >> container and that container could be using slf4j already. Currently >> Cargo only supports Jetty in embedded mode though, and I don't know if >> Jetty uses slf4j or some other logging framework/API. >> >> If all logging from the embedded framework gets directed to the Maven >> output console, it could get messy. I'm thinking something like how >> the surefire plugin works where the user is directed to the surefire >> reports for further problem info (stacktraces etc.) >> >> Well, just some thoughts. >> >> /Anders >> >>> >>> >>> -- >>> Ceki >>> 65% of statistics are made up on the spot >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>> For additional commands, e-mail: dev-h...@maven.apache.org >>> >> >> --------------------------------------------------------------------- >> 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 > --------------------------------------------------------- > > happiness is like a butterfly: the more you chase it, the more it will > elude you, but if you turn your attention to other things, it will come > and sit softly on your shoulder ... > > -- Thoreau > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org