curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-234) Add test logging back to modules
Date Mon, 20 Jul 2015 23:17:04 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634245#comment-14634245
] 

ASF GitHub Bot commented on CURATOR-234:
----------------------------------------

Github user cammckenzie commented on the pull request:

    https://github.com/apache/curator/pull/90#issuecomment-123085934
  
    I'm a complete newbie to Maven, but is it possible to add test only dependencies? It would
be nice to be able to just run unit tests with the slf4j-log4j12 dependency, but not enforce
this as a dependency of the project itself (as it's not).  Alternatively, would it be better
to use java.util.logging (via slf4j), as this presumably doesn't require an additional sfl4j
bridge library?


> Add test logging back to modules
> --------------------------------
>
>                 Key: CURATOR-234
>                 URL: https://issues.apache.org/jira/browse/CURATOR-234
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Mike Drob
>
> Commit db06634 removed the slf4j-log4j12 dependency from the parent pom, so now we no
longer have test logging easily available. This makes it difficult to debug various failing
tests.
> {noformat}
>         <dependency>
>             <groupId>org.slf4j</groupId>
>             <artifactId>slf4j-log4j12</artifactId>
>             <scope>test</scope>
>         </dependency>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message