camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-11771) Remove commons-logging import
Date Mon, 11 Sep 2017 17:34:01 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-11771:
--------------------------------
    Estimated Complexity: Novice  (was: Unknown)

> Remove commons-logging import
> -----------------------------
>
>                 Key: CAMEL-11771
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11771
>             Project: Camel
>          Issue Type: Task
>            Reporter: Claus Ibsen
>             Fix For: 2.20.0
>
>
> We should use slf4j-api instead as there is a few unit test that uses commons-logging
api directly.
> {code}
> davsclaus:/Users/davsclaus/workspace/camel (boot2)/$ git grep "commons\.logging"
> components/camel-cxf/src/test/java/org/apache/camel/component/cxf/mtom/MtomTestHelper.java:
   static boolean isAwtHeadless(org.apache.commons.logging.Log log, org.slf4j.Logger logger)
{
> components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/SpringHttpsRouteTest.java:import
org.apache.commons.logging.Log;
> components/camel-jetty9/src/test/java/org/apache/camel/component/jetty/SpringHttpsRouteTest.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/CuratorFactoryBean.java:import
org.apache.commons.logging.Log;
> components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/CuratorFactoryBean.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/policy/FailoverCuratorLeaderRoutePolicyTest.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/policy/FailoverRoutePolicyTest.java:import
org.apache.commons.logging.LogFactory;
> components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/policy/MultiMasterCuratorLeaderRoutePolicyTest.java:import
org.apache.commons.logging.LogFactory;
> parent/pom.xml:      org.apache.commons.logging.*;version="[1.1,2)",
> tests/camel-itest-karaf/src/test/resources/commons-logging.properties:#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
> tests/camel-itest-karaf/src/test/resources/commons-logging.properties:org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
> tests/camel-itest/src/test/resources/commons-logging.properties:#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
> tests/camel-itest/src/test/resources/commons-logging.properties:org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message