Jason Porter wrote:
I'd love to get Jetty to use the log4j file I've setup in my project
(so there's only one place, or at least configurable, to look), but it
looks like it's using the logging info from Gradle.  I'm also being
told to took at http://www.slf4j.org/codes.html#multiple_bindings
because a library in my project (Hibernate) also relies on slf4j.
Anyone else experienced this or have a work around?


Could you add a JIRA issue for this?

Both these problems are due to Gradle making the logging libraries that it uses (which is pretty much all of them) visible to web apps hosted in Jetty. In your case, you want to use the logging libraries packaged in your web app. I guess we need some way of specifying whether you want to use Gradle's logging system or not for the jetty tasks.

You could potentially work around this by subclassing the JettyRun class and tweaking the Jetty web app context before it is started.


Adam


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to