Repository: aurora
Updated Branches:
  refs/heads/master 2ac16f015 -> d7425aa56


Bump logback to 1.2.3 and SLF4J to 1.7.25

The changelog entries that stand out the most:

* The ReentrantLock in OutputStreamAppender is now "unfair". In previous
  versions of logback, a fair lock was used. Fair locks are much slower.
  Just as importanly, logback has no mandate to influence thread scheduling.
* In PatternLayoutBase the same StringBuilder is used over and over to
  reduce memory allocation.

I am unable to observe any improvements in our micro-benchmarks. In any
case, I still think it is worth to stay up to date.

Full changelogs:

* https://www.slf4j.org/news.html
* https://logback.qos.ch/news.html

Reviewed at https://reviews.apache.org/r/59417/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/d7425aa5
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/d7425aa5
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/d7425aa5

Branch: refs/heads/master
Commit: d7425aa56d3fba98f4a16cb93bff8f9ce7ce0e67
Parents: 2ac16f0
Author: Stephan Erb <s...@apache.org>
Authored: Tue May 30 22:40:31 2017 +0200
Committer: Stephan Erb <s...@apache.org>
Committed: Tue May 30 22:40:31 2017 +0200

----------------------------------------------------------------------
 build.gradle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/d7425aa5/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b7a4f05..4802d5e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -90,11 +90,11 @@ For more details, please see 
https://issues.apache.org/jira/browse/AURORA-1169
   ext.jerseyRev = '1.19'
   ext.jsrRev = '3.0.1'
   ext.junitRev = '4.12'
-  ext.logbackRev = '1.1.3'
+  ext.logbackRev = '1.2.3'
   ext.mybatisRev = '3.4.1'
   ext.protobufRev = '2.6.1'
   ext.servletRev = '3.1.0'
-  ext.slf4jRev = '1.7.12'
+  ext.slf4jRev = '1.7.25'
   ext.stringTemplateRev = '3.2.1'
   ext.thriftRev = '0.9.1'
   ext.zookeeperRev = '3.4.8'
@@ -351,7 +351,7 @@ dependencies {
   compile project(':commons-args')
 
   compile 'aopalliance:aopalliance:1.0'
-  compile 'ch.qos.logback:logback-classic:1.1.3'
+  compile "ch.qos.logback:logback-classic:${logbackRev}"
   compile "com.google.code.findbugs:jsr305:${jsrRev}"
   compile "com.google.inject:guice:${guiceRev}"
   compile "com.google.inject.extensions:guice-assistedinject:${guiceRev}"

Reply via email to