diff --git a/bvm/ballerina-core/build.gradle b/bvm/ballerina-core/build.gradle index ecea40ad2743..dc192b91e88c 100644 --- a/bvm/ballerina-core/build.gradle +++ b/bvm/ballerina-core/build.gradle @@ -63,7 +63,7 @@ configurations { exclude group: 'org.apache.servicemix.bundles', module: 'org.apache.servicemix.bundles.commons-beanutils' exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-log4j2' - exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + exclude group: 'org.slf4j', module: 'slf4j-log4j12' } } diff --git a/cli/ballerina-cli-module/build.gradle b/cli/ballerina-cli-module/build.gradle index 0f0c67fb1414..e16cfcc37c66 100644 --- a/cli/ballerina-cli-module/build.gradle +++ b/cli/ballerina-cli-module/build.gradle @@ -21,7 +21,7 @@ configurations { birJar bir birJarCompile { transitive false } - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/cli/ballerina-packerina/build.gradle b/cli/ballerina-packerina/build.gradle index d5fb71c20b2c..91119dc94033 100644 --- a/cli/ballerina-packerina/build.gradle +++ b/cli/ballerina-packerina/build.gradle @@ -21,7 +21,7 @@ configurations { birJar bir birJarCompile { transitive false } - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/gradle/balNativeLibProject.gradle b/gradle/balNativeLibProject.gradle index 01ad86771d5a..70b8386f1766 100644 --- a/gradle/balNativeLibProject.gradle +++ b/gradle/balNativeLibProject.gradle @@ -190,7 +190,7 @@ publishing { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/langlib/langlib-test/build.gradle b/langlib/langlib-test/build.gradle index f99a5f74aae7..fd6777897434 100644 --- a/langlib/langlib-test/build.gradle +++ b/langlib/langlib-test/build.gradle @@ -98,7 +98,7 @@ test { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/observelib/observe/build.gradle b/observelib/observe/build.gradle index 7b4d96708dc1..219ebd216a73 100644 --- a/observelib/observe/build.gradle +++ b/observelib/observe/build.gradle @@ -52,7 +52,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/auth/build.gradle b/stdlib/auth/build.gradle index a80a747e03e7..da576a6082ed 100644 --- a/stdlib/auth/build.gradle +++ b/stdlib/auth/build.gradle @@ -83,7 +83,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/crypto/build.gradle b/stdlib/crypto/build.gradle index ab13d208bfc9..d4f4931c17a5 100644 --- a/stdlib/crypto/build.gradle +++ b/stdlib/crypto/build.gradle @@ -55,7 +55,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/database/jdbc2/build.gradle b/stdlib/database/jdbc2/build.gradle index b7b0345e4444..6cbe1fe8b479 100644 --- a/stdlib/database/jdbc2/build.gradle +++ b/stdlib/database/jdbc2/build.gradle @@ -61,7 +61,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/email/build.gradle b/stdlib/email/build.gradle index 33c4e92ae77f..ae459c3b5940 100644 --- a/stdlib/email/build.gradle +++ b/stdlib/email/build.gradle @@ -77,7 +77,7 @@ createBalo { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/encoding/build.gradle b/stdlib/encoding/build.gradle index ab18aaa161a8..2a4e96c36da3 100644 --- a/stdlib/encoding/build.gradle +++ b/stdlib/encoding/build.gradle @@ -52,7 +52,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/file/build.gradle b/stdlib/file/build.gradle index 0f4aaf0b5a98..73a0819ce313 100644 --- a/stdlib/file/build.gradle +++ b/stdlib/file/build.gradle @@ -56,7 +56,7 @@ createBalo { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/grpc/build.gradle b/stdlib/grpc/build.gradle index ba90b25c7c43..8d67f6dcf4cd 100644 --- a/stdlib/grpc/build.gradle +++ b/stdlib/grpc/build.gradle @@ -29,7 +29,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/http/build.gradle b/stdlib/http/build.gradle index 1948dcaba3fa..25e61f05a077 100644 --- a/stdlib/http/build.gradle +++ b/stdlib/http/build.gradle @@ -114,7 +114,7 @@ createBalo { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/io/build.gradle b/stdlib/io/build.gradle index 7027dc95279d..2ffdea93aaaf 100644 --- a/stdlib/io/build.gradle +++ b/stdlib/io/build.gradle @@ -58,7 +58,7 @@ createBalo { description = 'Ballerina - I/O' configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/jdbc/build.gradle b/stdlib/jdbc/build.gradle index 44bcbf0fa8d3..b5ed174cb88c 100644 --- a/stdlib/jdbc/build.gradle +++ b/stdlib/jdbc/build.gradle @@ -93,7 +93,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/jsonutils/build.gradle b/stdlib/jsonutils/build.gradle index d316a26a0ed6..610cf813d71d 100644 --- a/stdlib/jsonutils/build.gradle +++ b/stdlib/jsonutils/build.gradle @@ -52,7 +52,7 @@ createBalo { description = 'Ballerina - Json Utils' configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/jwt/build.gradle b/stdlib/jwt/build.gradle index 0df8ec76e9d9..ff4d01964f82 100644 --- a/stdlib/jwt/build.gradle +++ b/stdlib/jwt/build.gradle @@ -93,7 +93,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/ldap/build.gradle b/stdlib/ldap/build.gradle index a7f3a371a95f..a34279c09a67 100644 --- a/stdlib/ldap/build.gradle +++ b/stdlib/ldap/build.gradle @@ -66,7 +66,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/math/build.gradle b/stdlib/math/build.gradle index 7b1af9692911..4c4e44428210 100644 --- a/stdlib/math/build.gradle +++ b/stdlib/math/build.gradle @@ -55,7 +55,7 @@ createBalo { description = 'Ballerina - Math' configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/messaging/kafka/build.gradle b/stdlib/messaging/kafka/build.gradle index 483fd8ebbf86..bc679a0d31ac 100644 --- a/stdlib/messaging/kafka/build.gradle +++ b/stdlib/messaging/kafka/build.gradle @@ -99,7 +99,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/messaging/nats/build.gradle b/stdlib/messaging/nats/build.gradle index 3e18cda07922..44ead2fa8585 100644 --- a/stdlib/messaging/nats/build.gradle +++ b/stdlib/messaging/nats/build.gradle @@ -30,7 +30,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/messaging/rabbitmq/build.gradle b/stdlib/messaging/rabbitmq/build.gradle index 7fe6312c3261..872673698400 100644 --- a/stdlib/messaging/rabbitmq/build.gradle +++ b/stdlib/messaging/rabbitmq/build.gradle @@ -60,7 +60,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/mime/build.gradle b/stdlib/mime/build.gradle index 3ecccbc06711..8c3e4feffb37 100644 --- a/stdlib/mime/build.gradle +++ b/stdlib/mime/build.gradle @@ -26,7 +26,7 @@ configurations.testCompileClasspath { configurations { tests - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/oauth2/build.gradle b/stdlib/oauth2/build.gradle index 5a0b718e084a..a08519bcf601 100644 --- a/stdlib/oauth2/build.gradle +++ b/stdlib/oauth2/build.gradle @@ -78,7 +78,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/socket/build.gradle b/stdlib/socket/build.gradle index c6c66201eb26..b6857e745c59 100644 --- a/stdlib/socket/build.gradle +++ b/stdlib/socket/build.gradle @@ -46,7 +46,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/task/build.gradle b/stdlib/task/build.gradle index 2309d8023ea8..00eb6803f3b3 100644 --- a/stdlib/task/build.gradle +++ b/stdlib/task/build.gradle @@ -25,7 +25,7 @@ configurations.testCompileClasspath { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/time/build.gradle b/stdlib/time/build.gradle index a938fb4eabb6..c1c62eddc791 100644 --- a/stdlib/time/build.gradle +++ b/stdlib/time/build.gradle @@ -50,7 +50,7 @@ createBalo { description = 'Ballerina - Time' configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/transactions/build.gradle b/stdlib/transactions/build.gradle index c8756d8c208b..d64ef927ac48 100644 --- a/stdlib/transactions/build.gradle +++ b/stdlib/transactions/build.gradle @@ -83,7 +83,7 @@ dependencies { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/stdlib/xmlutils/build.gradle b/stdlib/xmlutils/build.gradle index c0c4efa9ed6c..21163cfa3eb9 100644 --- a/stdlib/xmlutils/build.gradle +++ b/stdlib/xmlutils/build.gradle @@ -65,7 +65,7 @@ createBalo { description = 'Ballerina - Xmlutils' configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/tests/ballerina-compiler-plugin-test/build.gradle b/tests/ballerina-compiler-plugin-test/build.gradle index 3e054e51fd8e..9a75ff744bb8 100644 --- a/tests/ballerina-compiler-plugin-test/build.gradle +++ b/tests/ballerina-compiler-plugin-test/build.gradle @@ -96,7 +96,7 @@ test { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/tests/ballerina-spec-conformance-tests/build.gradle b/tests/ballerina-spec-conformance-tests/build.gradle index 7ccefe3c2b07..b80d10748ce7 100644 --- a/tests/ballerina-spec-conformance-tests/build.gradle +++ b/tests/ballerina-spec-conformance-tests/build.gradle @@ -54,7 +54,7 @@ test { } configurations { - testImplementation.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testImplementation.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testImplementation.exclude group: 'com.fasterxml.woodstox', module: 'woodstox-core' testImplementation.exclude group: 'org.codehaus.woodstox', module: 'stax2-api' } diff --git a/tests/ballerina-test-utils/build.gradle b/tests/ballerina-test-utils/build.gradle index 6b1a758d704a..6fb43d3ccdff 100644 --- a/tests/ballerina-test-utils/build.gradle +++ b/tests/ballerina-test-utils/build.gradle @@ -65,7 +65,7 @@ shadowJar { exclude(dependency('org.ops4j.pax.logging:pax-logging-api')) exclude(dependency('org.wso2.eclipse.osgi:org.eclipse.osgi')) exclude(dependency('org.wso2.eclipse.osgi:org.eclipse.osgi.services')) - exclude(dependency('org.apache.logging.log4j:log4j-slf4j-impl')) + exclude(dependency('org.slf4j:slf4j-log4j12')) exclude(dependency('org.slf4j:slf4j-simple')) exclude(dependency('org.apache.logging.log4j:log4j-slf4j-impl')) exclude(dependency('io.netty:netty-common')) diff --git a/tests/ballerina-tools-integration-test/build.gradle b/tests/ballerina-tools-integration-test/build.gradle index 697240ba958f..9d0e814b175e 100644 --- a/tests/ballerina-tools-integration-test/build.gradle +++ b/tests/ballerina-tools-integration-test/build.gradle @@ -68,7 +68,7 @@ test { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' } diff --git a/tests/jballerina-bstring-unit-test/build.gradle b/tests/jballerina-bstring-unit-test/build.gradle index 9173f3ed5670..9c70ed049e9d 100644 --- a/tests/jballerina-bstring-unit-test/build.gradle +++ b/tests/jballerina-bstring-unit-test/build.gradle @@ -107,7 +107,7 @@ test { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' } diff --git a/tests/jballerina-unit-test/build.gradle b/tests/jballerina-unit-test/build.gradle index aea648a99181..bc138cd41c8e 100644 --- a/tests/jballerina-unit-test/build.gradle +++ b/tests/jballerina-unit-test/build.gradle @@ -127,7 +127,7 @@ test { } configurations { - testCompile.exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl' + testCompile.exclude group: 'org.slf4j', module: 'slf4j-log4j12' testCompile.exclude group: 'org.slf4j', module: 'slf4j-simple' testCompile.exclude group: 'org.ops4j.pax.logging', module: 'pax-logging-api' }