summaryrefslogtreecommitdiff
path: root/plugins/repository-azure
diff options
context:
space:
mode:
authorNik Everett <nik9000@gmail.com>2016-02-16 08:46:03 -0500
committerNik Everett <nik9000@gmail.com>2016-02-26 16:41:07 -0500
commitba5be0332dbf28a3fa4b0e73d4222a1da39b5dfe (patch)
tree3c9a083e93cb3e277443c1a5927316986d65c3e9 /plugins/repository-azure
parente3aba38bac1fab9d9d922b24f6b777d401fc68d9 (diff)
Remove optional logger wrappers
Removes all our logger wrappers except the wrapper for log4j1.2. If you depend on Elasticsearch's jar in your application you'll need to declare log4j 1.2 and/or some bridge to your favorite logger. We did this to simplify our builds and code. No more commons-logging like log implementation sniffing. No more optional dependency hacks in gradle. We might one day want to use j.u.l instead of log4j. If we do want that we can recover its wrapper by studying this commit. We didn't go directly to j.u.l in this commit because that is a bigger change. Our logging configuration is based on log4j1.2 and people are used to it. So it'd be a much more fraught breaking change to do that conversion.
Diffstat (limited to 'plugins/repository-azure')
-rw-r--r--plugins/repository-azure/build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/repository-azure/build.gradle b/plugins/repository-azure/build.gradle
index 122bd6dfa8..bcd60abb89 100644
--- a/plugins/repository-azure/build.gradle
+++ b/plugins/repository-azure/build.gradle
@@ -35,3 +35,8 @@ dependencyLicenses {
mapping from: /stax-.*/, to: 'stax'
}
+thirdPartyAudit.excludes = [
+ // Optional and not enabled by Elasticsearch
+ 'org.slf4j.Logger',
+ 'org.slf4j.LoggerFactory',
+]