summaryrefslogtreecommitdiff
path: root/plugins/repository-hdfs
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-hdfs
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-hdfs')
-rw-r--r--plugins/repository-hdfs/build.gradle4
-rw-r--r--plugins/repository-hdfs/licenses/slf4j-api-1.6.2.jar.sha11
-rw-r--r--plugins/repository-hdfs/licenses/slf4j-api-LICENSE.txt21
-rw-r--r--plugins/repository-hdfs/licenses/slf4j-api-NOTICE.txt0
4 files changed, 26 insertions, 0 deletions
diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle
index 924f8cd1d4..915a85ebdc 100644
--- a/plugins/repository-hdfs/build.gradle
+++ b/plugins/repository-hdfs/build.gradle
@@ -357,4 +357,8 @@ thirdPartyAudit.excludes = [
// internal java api: sun.misc.SignalHandler
'org.apache.hadoop.util.SignalLogger$Handler',
+
+ // optional dependencies of slf4j-api
+ 'org.slf4j.impl.StaticMDCBinder',
+ 'org.slf4j.impl.StaticMarkerBinder',
]
diff --git a/plugins/repository-hdfs/licenses/slf4j-api-1.6.2.jar.sha1 b/plugins/repository-hdfs/licenses/slf4j-api-1.6.2.jar.sha1
new file mode 100644
index 0000000000..a2f93ea558
--- /dev/null
+++ b/plugins/repository-hdfs/licenses/slf4j-api-1.6.2.jar.sha1
@@ -0,0 +1 @@
+8619e95939167fb37245b5670135e4feb0ec7d50 \ No newline at end of file
diff --git a/plugins/repository-hdfs/licenses/slf4j-api-LICENSE.txt b/plugins/repository-hdfs/licenses/slf4j-api-LICENSE.txt
new file mode 100644
index 0000000000..8fda22f4d7
--- /dev/null
+++ b/plugins/repository-hdfs/licenses/slf4j-api-LICENSE.txt
@@ -0,0 +1,21 @@
+Copyright (c) 2004-2014 QOS.ch
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/plugins/repository-hdfs/licenses/slf4j-api-NOTICE.txt b/plugins/repository-hdfs/licenses/slf4j-api-NOTICE.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/plugins/repository-hdfs/licenses/slf4j-api-NOTICE.txt