This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch log4j2 in repository https://gitbox.apache.org/repos/asf/camel.git
commit c337ef2e2ca0b8bfb37c6d627e974b43668d0d8f Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Jan 16 18:14:50 2023 +0100 CAMEL-18936 - components - Add log4j-core so logging to logfile works Signed-off-by: Andrea Cosentino <[email protected]> --- components/camel-amqp/pom.xml | 5 ----- components/camel-any23/pom.xml | 10 ---------- components/camel-arangodb/pom.xml | 5 ----- components/camel-asn1/pom.xml | 5 ----- components/camel-asterisk/pom.xml | 5 ----- components/camel-atlasmap/pom.xml | 5 ----- components/camel-atmosphere-websocket/pom.xml | 6 ------ components/camel-atom/pom.xml | 5 ----- components/camel-attachments/pom.xml | 5 ----- components/camel-avro/pom.xml | 5 ----- components/camel-barcode/pom.xml | 5 ----- components/camel-base64/pom.xml | 5 ----- components/camel-bean-validator/pom.xml | 5 ----- components/camel-bindy/pom.xml | 5 ----- components/camel-bonita/pom.xml | 5 ----- components/camel-braintree/pom.xml | 13 ------------- components/camel-caffeine/pom.xml | 5 ----- components/camel-cassandraql/pom.xml | 7 ------- components/camel-cbor/pom.xml | 7 ------- components/camel-chatscript/pom.xml | 6 ------ components/camel-chunk/pom.xml | 6 ------ components/camel-cm-sms/pom.xml | 5 ----- components/camel-coap/pom.xml | 8 -------- components/camel-cometd/pom.xml | 5 ----- components/camel-consul/pom.xml | 5 ----- components/camel-corda/pom.xml | 5 ----- components/camel-couchdb/pom.xml | 5 ----- components/camel-cron/pom.xml | 5 ----- components/camel-crypto/pom.xml | 5 ----- components/camel-csimple-joor/pom.xml | 7 +------ components/camel-csv/pom.xml | 5 ----- components/camel-digitalocean/pom.xml | 7 ------- components/camel-disruptor/pom.xml | 5 ----- components/camel-djl/pom.xml | 7 ------- components/camel-dns/pom.xml | 5 ----- components/camel-docker/pom.xml | 7 ------- components/camel-drill/pom.xml | 5 ----- components/camel-dropbox/pom.xml | 7 +------ 38 files changed, 2 insertions(+), 221 deletions(-) diff --git a/components/camel-amqp/pom.xml b/components/camel-amqp/pom.xml index 6eb10753e72..1999edf2c6c 100644 --- a/components/camel-amqp/pom.xml +++ b/components/camel-amqp/pom.xml @@ -93,10 +93,5 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-any23/pom.xml b/components/camel-any23/pom.xml index ceee49c2912..2624c57db5c 100644 --- a/components/camel-any23/pom.xml +++ b/components/camel-any23/pom.xml @@ -65,16 +65,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId> diff --git a/components/camel-arangodb/pom.xml b/components/camel-arangodb/pom.xml index de804954ae5..3592bd9cef6 100644 --- a/components/camel-arangodb/pom.xml +++ b/components/camel-arangodb/pom.xml @@ -55,11 +55,6 @@ </dependency> <!-- testing --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-junit5</artifactId> diff --git a/components/camel-asn1/pom.xml b/components/camel-asn1/pom.xml index 82ab8386fe3..e2380aaad62 100644 --- a/components/camel-asn1/pom.xml +++ b/components/camel-asn1/pom.xml @@ -66,11 +66,6 @@ <artifactId>camel-test-spring-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> diff --git a/components/camel-asterisk/pom.xml b/components/camel-asterisk/pom.xml index 5c1331c3dfd..15c59870312 100644 --- a/components/camel-asterisk/pom.xml +++ b/components/camel-asterisk/pom.xml @@ -57,11 +57,6 @@ <artifactId>log4j-jul</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-junit5</artifactId> diff --git a/components/camel-atlasmap/pom.xml b/components/camel-atlasmap/pom.xml index 701779d5ada..fe44ce92795 100644 --- a/components/camel-atlasmap/pom.xml +++ b/components/camel-atlasmap/pom.xml @@ -113,11 +113,6 @@ <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.twitter4j</groupId> <artifactId>twitter4j-core</artifactId> diff --git a/components/camel-atmosphere-websocket/pom.xml b/components/camel-atmosphere-websocket/pom.xml index a7ca4bfc19b..259ae4ab48b 100644 --- a/components/camel-atmosphere-websocket/pom.xml +++ b/components/camel-atmosphere-websocket/pom.xml @@ -95,11 +95,5 @@ <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - </dependencies> </project> diff --git a/components/camel-atom/pom.xml b/components/camel-atom/pom.xml index 09df170c3a7..e0e9a73061b 100644 --- a/components/camel-atom/pom.xml +++ b/components/camel-atom/pom.xml @@ -172,11 +172,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> diff --git a/components/camel-attachments/pom.xml b/components/camel-attachments/pom.xml index 8bbe6d65d74..c107388508c 100644 --- a/components/camel-attachments/pom.xml +++ b/components/camel-attachments/pom.xml @@ -58,11 +58,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-avro/pom.xml b/components/camel-avro/pom.xml index c51bda95af9..01b69d2cae8 100644 --- a/components/camel-avro/pom.xml +++ b/components/camel-avro/pom.xml @@ -80,11 +80,6 @@ <artifactId>camel-spring-xml</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> diff --git a/components/camel-barcode/pom.xml b/components/camel-barcode/pom.xml index cdb97475de4..bf78bc5452c 100644 --- a/components/camel-barcode/pom.xml +++ b/components/camel-barcode/pom.xml @@ -58,10 +58,5 @@ <artifactId>camel-test-spring-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-base64/pom.xml b/components/camel-base64/pom.xml index 3eda46859b0..14538774ebf 100644 --- a/components/camel-base64/pom.xml +++ b/components/camel-base64/pom.xml @@ -57,11 +57,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-bean-validator/pom.xml b/components/camel-bean-validator/pom.xml index 06fd03db63e..a0b89e871f4 100644 --- a/components/camel-bean-validator/pom.xml +++ b/components/camel-bean-validator/pom.xml @@ -82,11 +82,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> diff --git a/components/camel-bindy/pom.xml b/components/camel-bindy/pom.xml index ccf4085c892..698f2302567 100644 --- a/components/camel-bindy/pom.xml +++ b/components/camel-bindy/pom.xml @@ -59,11 +59,6 @@ <artifactId>hamcrest</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> diff --git a/components/camel-bonita/pom.xml b/components/camel-bonita/pom.xml index 2ecb9f5fe05..5123b027ff5 100644 --- a/components/camel-bonita/pom.xml +++ b/components/camel-bonita/pom.xml @@ -72,10 +72,5 @@ <version>${wiremock-version}</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-braintree/pom.xml b/components/camel-braintree/pom.xml index 161fbaf7e14..2615dc29b6d 100644 --- a/components/camel-braintree/pom.xml +++ b/components/camel-braintree/pom.xml @@ -60,19 +60,6 @@ </exclusions> </dependency> - <!-- logging --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </dependency> - - <!-- testing - logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-caffeine/pom.xml b/components/camel-caffeine/pom.xml index d84058a3b14..cae51b95c23 100644 --- a/components/camel-caffeine/pom.xml +++ b/components/camel-caffeine/pom.xml @@ -57,11 +57,6 @@ <artifactId>camel-test-spring-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-core</artifactId> diff --git a/components/camel-cassandraql/pom.xml b/components/camel-cassandraql/pom.xml index 2e215ba71bb..e64e0bfe27c 100644 --- a/components/camel-cassandraql/pom.xml +++ b/components/camel-cassandraql/pom.xml @@ -56,13 +56,6 @@ <artifactId>java-driver-query-builder</artifactId> </dependency> - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-cbor/pom.xml b/components/camel-cbor/pom.xml index 14c940bf2b7..0e47a6e70e1 100644 --- a/components/camel-cbor/pom.xml +++ b/components/camel-cbor/pom.xml @@ -56,13 +56,6 @@ <version>${jackson2-version}</version> </dependency> - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-chatscript/pom.xml b/components/camel-chatscript/pom.xml index 3789cf62671..f91e9454540 100644 --- a/components/camel-chatscript/pom.xml +++ b/components/camel-chatscript/pom.xml @@ -51,12 +51,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <!-- test infra --> diff --git a/components/camel-chunk/pom.xml b/components/camel-chunk/pom.xml index 7d7ad52fa1f..fc47c6a0271 100644 --- a/components/camel-chunk/pom.xml +++ b/components/camel-chunk/pom.xml @@ -57,12 +57,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> diff --git a/components/camel-cm-sms/pom.xml b/components/camel-cm-sms/pom.xml index dd02b8eadb0..180b872c827 100644 --- a/components/camel-cm-sms/pom.xml +++ b/components/camel-cm-sms/pom.xml @@ -68,11 +68,6 @@ <artifactId>camel-test-spring-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> diff --git a/components/camel-coap/pom.xml b/components/camel-coap/pom.xml index 77dd55c0c68..5d3a8ac67b8 100644 --- a/components/camel-coap/pom.xml +++ b/components/camel-coap/pom.xml @@ -87,14 +87,6 @@ <version>${californium-scandium-version}</version> </dependency> - - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-cometd/pom.xml b/components/camel-cometd/pom.xml index 44f0a578c78..c628a7b158c 100644 --- a/components/camel-cometd/pom.xml +++ b/components/camel-cometd/pom.xml @@ -85,11 +85,6 @@ <artifactId>mockito-junit-jupiter</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> <build> diff --git a/components/camel-consul/pom.xml b/components/camel-consul/pom.xml index 588671be4eb..285777c49d2 100644 --- a/components/camel-consul/pom.xml +++ b/components/camel-consul/pom.xml @@ -121,11 +121,6 @@ <version>${assertj-version}</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>junit-jupiter</artifactId> diff --git a/components/camel-corda/pom.xml b/components/camel-corda/pom.xml index 099cffacf9e..a9556cd73a1 100644 --- a/components/camel-corda/pom.xml +++ b/components/camel-corda/pom.xml @@ -82,10 +82,5 @@ <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-couchdb/pom.xml b/components/camel-couchdb/pom.xml index a6462e7e426..30145755ecc 100644 --- a/components/camel-couchdb/pom.xml +++ b/components/camel-couchdb/pom.xml @@ -64,11 +64,6 @@ <artifactId>mockito-junit-jupiter</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <!-- test infra --> <dependency> diff --git a/components/camel-cron/pom.xml b/components/camel-cron/pom.xml index 91316ecae3e..b3b03889ff7 100644 --- a/components/camel-cron/pom.xml +++ b/components/camel-cron/pom.xml @@ -52,11 +52,6 @@ <artifactId>camel-timer</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-crypto/pom.xml b/components/camel-crypto/pom.xml index 50e6d085115..7e500ab7bec 100644 --- a/components/camel-crypto/pom.xml +++ b/components/camel-crypto/pom.xml @@ -57,11 +57,6 @@ <artifactId>camel-test-spring-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> diff --git a/components/camel-csimple-joor/pom.xml b/components/camel-csimple-joor/pom.xml index 9c9594366c7..a57c8adc13f 100644 --- a/components/camel-csimple-joor/pom.xml +++ b/components/camel-csimple-joor/pom.xml @@ -57,11 +57,6 @@ <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> @@ -75,4 +70,4 @@ </dependency> </dependencies> -</project> \ No newline at end of file +</project> diff --git a/components/camel-csv/pom.xml b/components/camel-csv/pom.xml index bfa7ee0936b..a486adff533 100644 --- a/components/camel-csv/pom.xml +++ b/components/camel-csv/pom.xml @@ -56,11 +56,6 @@ <artifactId>camel-test-spring-junit5</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-digitalocean/pom.xml b/components/camel-digitalocean/pom.xml index 785f44ead64..b175b7837aa 100644 --- a/components/camel-digitalocean/pom.xml +++ b/components/camel-digitalocean/pom.xml @@ -49,13 +49,6 @@ <version>${digitalocean-api-client-version}</version> </dependency> - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-disruptor/pom.xml b/components/camel-disruptor/pom.xml index 28ec8ee2da7..ff5f0bccd10 100644 --- a/components/camel-disruptor/pom.xml +++ b/components/camel-disruptor/pom.xml @@ -61,11 +61,6 @@ <version>${hdrhistrogram-version}</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-djl/pom.xml b/components/camel-djl/pom.xml index 471f562434f..3d3d2b8cc86 100644 --- a/components/camel-djl/pom.xml +++ b/components/camel-djl/pom.xml @@ -115,13 +115,6 @@ <scope>runtime</scope> </dependency> - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-dns/pom.xml b/components/camel-dns/pom.xml index 11e505c1489..fe162587e86 100644 --- a/components/camel-dns/pom.xml +++ b/components/camel-dns/pom.xml @@ -64,11 +64,6 @@ <artifactId>camel-log</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> diff --git a/components/camel-docker/pom.xml b/components/camel-docker/pom.xml index e874a2ccc9a..556f94474e3 100644 --- a/components/camel-docker/pom.xml +++ b/components/camel-docker/pom.xml @@ -45,13 +45,6 @@ <version>${docker-java-version}</version> </dependency> - <!-- logging --> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> - <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> diff --git a/components/camel-drill/pom.xml b/components/camel-drill/pom.xml index 1b271033ca5..ffcc2fb06f7 100644 --- a/components/camel-drill/pom.xml +++ b/components/camel-drill/pom.xml @@ -63,11 +63,6 @@ <optional>true</optional> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> </dependencies> </project> diff --git a/components/camel-dropbox/pom.xml b/components/camel-dropbox/pom.xml index 8aeaa28d076..b23980ef687 100644 --- a/components/camel-dropbox/pom.xml +++ b/components/camel-dropbox/pom.xml @@ -76,12 +76,7 @@ <artifactId>camel-core-catalog</artifactId> <scope>test</scope> </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j2-impl</artifactId> - <scope>test</scope> - </dependency> + <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId>
