[logback-dev] [qos-ch/logback-decoder] 3fcdca: Lazily match free-form fields; allow flexible spac...

Tony Trinh tony19 at gmail.com
Fri Jun 14 07:43:33 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback-decoder
  Commit: 3fcdca92e60dedfe08e33f811a5972dec4f34ddb
      https://github.com/qos-ch/logback-decoder/commit/3fcdca92e60dedfe08e33f811a5972dec4f34ddb
  Author: Tony Trinh <tony19 at gmail.com>
  Date:   2013-06-13 (Thu, 13 Jun 2013)

  Changed paths:
    M src/main/java/ch/qos/logback/decoder/Decoder.java
    M src/main/java/ch/qos/logback/decoder/regex/PatternLayoutRegexUtil.java
    M src/main/java/ch/qos/logback/decoder/regex/RegexPatterns.java
    M src/test/java/ch/qos/logback/decoder/DecoderTest.java
    M src/test/java/ch/qos/logback/decoder/regex/PatternLayoutRegexUtilTest.java
    M src/test/java/ch/qos/logback/decoder/regex/RegexPatternsTest.java

  Log Message:
  -----------
  Lazily match free-form fields; allow flexible spaces (#2)

The regex patterns were adjusted to use lazy/reluctant quantifiers
for properly matching free-form fields (including logger name).

Also, the parser is now flexible in whitespace parsing.





More information about the logback-dev mailing list