On Tue, Sep 29, 2009 at 16:39, Adam Murdoch <[email protected]> wrote:
>
>
> 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
>
>
>

http://jira.codehaus.org/browse/GRADLE-669

-- 
Jason Porter
Real Programmers think better when playing Adventure or Rogue.

PGP key id: 926CCFF5
PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
PGP key available at: keyserver.net, pgp.mit.edu

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

    http://xircles.codehaus.org/manage_email


Reply via email to