[logback-dev] [qos-ch/logback-contrib] f817ac: Refactor logback-json-classic to use common code f...

Tony Trinh tony19 at gmail.com
Mon Jun 6 02:52:21 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback-contrib
  Commit: f817ac1bff6ab22bfa82fb6f45ae4933c4469c0c
      https://github.com/qos-ch/logback-contrib/commit/f817ac1bff6ab22bfa82fb6f45ae4933c4469c0c
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M json/access/pom.xml
    M json/access/src/main/java/ch/qos/logback/contrib/json/access/JsonLayout.java
    M json/access/src/test/input/json/jsonLayout.xml
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java
    M json/classic/src/main/java/ch/qos/logback/contrib/json/classic/JsonLayout.java
    A json/classic/src/test/input/json/jsonLayout.xml
    A json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java
    M json/core/src/main/java/ch/qos/logback/contrib/json/JsonLayoutBase.java

  Log Message:
  -----------
  Refactor logback-json-classic to use common code from logback-json-core, sharing code between classic and access.
Added junit tests for classic JsonLayout.


  Commit: 8d1c3015e59f0d5cd168bc6d36c5cc53b689b577
      https://github.com/qos-ch/logback-contrib/commit/8d1c3015e59f0d5cd168bc6d36c5cc53b689b577
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Removed unnecessary assert.


  Commit: 30d668241807a3d88e11d5e0d50839d5a4159486
      https://github.com/qos-ch/logback-contrib/commit/30d668241807a3d88e11d5e0d50839d5a4159486
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Replace assertTrue/False with Hamcrest assertThat for better readability.


  Commit: 388c54d740e02b7bcdec261ea0be947fbcca9e88
      https://github.com/qos-ch/logback-contrib/commit/388c54d740e02b7bcdec261ea0be947fbcca9e88
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Reset context before testing.


  Commit: 4f36c8b8d375ced1ecfa712a6e2d35d082aecc69
      https://github.com/qos-ch/logback-contrib/commit/4f36c8b8d375ced1ecfa712a6e2d35d082aecc69
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Replaced usage of is() in tests with containsString(), providing better test feedback.


  Commit: 5420260040dc33832197ac20aa9a670fd5f2c5ff
      https://github.com/qos-ch/logback-contrib/commit/5420260040dc33832197ac20aa9a670fd5f2c5ff
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Fix possible false positive in timestamp test.


  Commit: f862ad0ecaa6a24348841150c9bd068d5d6aedcd
      https://github.com/qos-ch/logback-contrib/commit/f862ad0ecaa6a24348841150c9bd068d5d6aedcd
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Proper fix of possible false positive in timestamp test.


  Commit: 393ca4d23e3b82aa05f3d97cda060d68c1266c3c
      https://github.com/qos-ch/logback-contrib/commit/393ca4d23e3b82aa05f3d97cda060d68c1266c3c
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M json/classic/src/test/input/json/jsonLayout.xml
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java

  Log Message:
  -----------
  Moved STR_LIST appender-ref to a root logger.


  Commit: 152fc19418472aa765d9aee1a0b879cb364092e2
      https://github.com/qos-ch/logback-contrib/commit/152fc19418472aa765d9aee1a0b879cb364092e2
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-05 (Sun, 05 Jun 2016)

  Changed paths:
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java
    M json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java
    M pom.xml

  Log Message:
  -----------
  Improve testing of maps with hasKey().


  Commit: 0fa7f5a2728c44671e8cce58645e27e69caa3b86
      https://github.com/qos-ch/logback-contrib/commit/0fa7f5a2728c44671e8cce58645e27e69caa3b86
  Author: Espen Fossen <espenaf at junta.no>
  Date:   2016-06-05 (Sun, 05 Jun 2016)

  Changed paths:
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java

  Log Message:
  -----------
  Improve testing of maps with hasKey().


  Commit: 8f1c8ef212e76ab44e33f8439c610a998667c14d
      https://github.com/qos-ch/logback-contrib/commit/8f1c8ef212e76ab44e33f8439c610a998667c14d
  Author: Tony Trinh <tony19 at gmail.com>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M json/access/pom.xml
    M json/access/src/main/java/ch/qos/logback/contrib/json/access/JsonLayout.java
    M json/access/src/test/input/json/jsonLayout.xml
    M json/access/src/test/java/ch/qos/logback/contrib/json/access/JsonLayoutTest.java
    M json/classic/src/main/java/ch/qos/logback/contrib/json/classic/JsonLayout.java
    A json/classic/src/test/input/json/jsonLayout.xml
    A json/classic/src/test/java/ch/qos/logback/contrib/json/classic/JsonLayoutTest.java
    M json/core/src/main/java/ch/qos/logback/contrib/json/JsonLayoutBase.java
    M pom.xml

  Log Message:
  -----------
  Merge pull request #14 from espenaf/master

Refactor and add junit tests to classic JsonLayout


Compare: https://github.com/qos-ch/logback-contrib/compare/bc8813e2b16f...8f1c8ef212e7


More information about the logback-dev mailing list