[logback-dev] [qos-ch/logback] f091f6: * made AbstrackSocketAppender not lose events when...

Tony Trinh tony19 at gmail.com
Tue Jun 10 02:16:58 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: f091f6e436fcef1f083c8f61de8dcdde67b11780
      https://github.com/qos-ch/logback/commit/f091f6e436fcef1f083c8f61de8dcdde67b11780
  Author: Sebastian Gröbler <s.groebler at googlemail.com>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/net/AbstractSocketAppender.java
    A logback-core/src/main/java/ch/qos/logback/core/net/AutoFlushingObjectWriter.java
    A logback-core/src/main/java/ch/qos/logback/core/net/ObjectWriter.java
    A logback-core/src/main/java/ch/qos/logback/core/net/ObjectWriterFactory.java
    A logback-core/src/main/java/ch/qos/logback/core/net/QueueFactory.java
    A logback-core/src/test/java/ch/qos/logback/core/net/AbstractSocketAppenderIntegrationTest.java
    M logback-core/src/test/java/ch/qos/logback/core/net/AbstractSocketAppenderTest.java
    A logback-core/src/test/java/ch/qos/logback/core/net/AutoFlushingObjectWriterTest.java

  Log Message:
  -----------
  * made AbstrackSocketAppender not lose events when socket connections gets lost (now uses LinkedBlockingDeque)
* extracted aspects of deque creation and output stream creation to factories in order to improve testability
* ecapsulated automatic flushing of output stream into a separate class in order to make this functionality testable
* slightly refactored internal structure of AbstrackSocketAppender to improve maintainability


  Commit: 3cba78b699674f74778b399acb23b815162da3b3
      https://github.com/qos-ch/logback/commit/3cba78b699674f74778b399acb23b815162da3b3
  Author: Sebastian Gröbler <s.groebler at googlemail.com>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M logback-site/src/site/pages/manual/appenders.html

  Log Message:
  -----------
  extended documentation to reflect new SocketAppender behaviour towards synchronous/asynchronous queueing


  Commit: f33535c3572ecab6c56ea9bc48298cd78b51e3bf
      https://github.com/qos-ch/logback/commit/f33535c3572ecab6c56ea9bc48298cd78b51e3bf
  Author: Tony Trinh <tony19 at gmail.com>
  Date:   2014-06-09 (Mon, 09 Jun 2014)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/net/AbstractSocketAppender.java
    A logback-core/src/main/java/ch/qos/logback/core/net/AutoFlushingObjectWriter.java
    A logback-core/src/main/java/ch/qos/logback/core/net/ObjectWriter.java
    A logback-core/src/main/java/ch/qos/logback/core/net/ObjectWriterFactory.java
    A logback-core/src/main/java/ch/qos/logback/core/net/QueueFactory.java
    A logback-core/src/test/java/ch/qos/logback/core/net/AbstractSocketAppenderIntegrationTest.java
    M logback-core/src/test/java/ch/qos/logback/core/net/AbstractSocketAppenderTest.java
    A logback-core/src/test/java/ch/qos/logback/core/net/AutoFlushingObjectWriterTest.java
    M logback-site/src/site/pages/manual/appenders.html

  Log Message:
  -----------
  Merge pull request #193 from SierraGolf/sierragolf/LOGBACK-977

LOGBACK-977 - AbstractSocketAppender loses event for every socket connection break


Compare: https://github.com/qos-ch/logback/compare/833c40faf0aa...f33535c3572e


More information about the logback-dev mailing list