Tom,

I think log4j is a dependency of Cobertura rather than of the plugin
code, but I will check.

I have to admit the whole of logging is a mystery to me, I have never
used it.  It did strike me as irritating though that Gradle uses slf4j
and yet log4j was needed for the plugin.

If it is the plugin that is using log4j then tranferring to slf4j is
clearly necessary since Gradle uses that not log4j and so should any of
the plugins.

From what you are saying log4j-over-slf4j is an adapter and so should be
the dependency rather than log4j itself if teh dependency does stem from
Cobertura.

Of course it might be that both the above are true and needed.

On Sat, 2009-04-04 at 23:19 +0200, Tom Eyckmans wrote:
> 
> Could you try to use SLF4J / Logback as this is currently used for the
> logging by Gradle or in case Cobertura depends on it use
> log4j-over-slf4j?
> 
> 2009/3/29 Russel Winder <[email protected]>
>         Luk,
>         
>         On Sat, 2009-03-28 at 12:01 +0100,
>         [email protected] wrote:
>         > Hi Russel,
>         >
>         > You are up and early ;-)
>         
>         06:30 is a fairly standard start time for me.  One of the
>         (dis)advantages of working from home.
>         
>         > Conserning the Log4j 1.2.9, it came with the Cobertura 1.9.1
>         > distribution.
>         
>         OK.  I have set the Log4j version to 1.2.14 in my build and it
>         works
>         fine.  1.2.15 doesn't for some reason that I didn't follow up
>         on.
>         
>         > If your flatDirResolver still fails to resolve the cobertura
>         1.9.1 jar,
>         > try this:
>         
>         It seems to work fine now. :-)
>         
>         [ . . . ]
>         
>         > The file I uploaded was merely for informative use and not
>         to be
>         > considered as a final release hence no build-file and no
>         unit-tests.
>         > Besides I even added some System.outs that can be picked up
>         by TeamCity
>         > which is a bit dirty to say the least. But I am happy you
>         want to take
>         > this to a higher level. The code I started from was written
>         by Phil
>         > Messenger (see http://jira.codehaus.org/browse/GRADLE-300).
>         I think he
>         > is the developer that you should talk to.
>         
>         OK, I signed up to this issue.
>         
>         I'll develop the system I have pending activity based about
>         this issue.
>         
>         Thanks.
>         
>         
>         --
>         Russel.
>         ============================================================
>         Dr Russel Winder                 Partner
>         
>         Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
>         41 Buckmaster Road,     f: +44 8700 516 084    voip:
>          sip:[email protected]
>         London SW11 1EN, UK.    m: +44 7770 465 077    xmpp:
>         [email protected]
>         
> 
-- 
Russel.
============================================================
Dr Russel Winder                 Partner

Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,     f: +44 8700 516 084    voip:  
sip:[email protected]
London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to