[logback-dev] [qos-ch/logback-decoder] f9b87f: ongoing work on layout-pattern-to-regex converters...

ceki ceki at qos.ch
Tue Jun 19 20:37:10 CEST 2012


Hi Tony,

Great to see logback-decoder making progress. I see that given a
pattern your are able to produce a regex. I am also glad to see that
you are much more savvy at writing regular expressions than I am.

Have you thought about how to capture fields so as to fill in
LoggingEvent/AccessEvent fields? At this stage of the code, there is
no grouping in these regular expressions so it is not clear how they
could be used to capture field data. Anyway, do you already have an
idea how to go further or should we come up with something together?

Cheers,
-- 
Ceki
http://twitter.com/#!/ceki

On 18.06.2012 21:17, Tony Trinh wrote:
>    Branch: refs/heads/master
>    Home:   https://github.com/qos-ch/logback-decoder
>    Commit: f9b87f6ddd1c3aa4f82e2280937f48bcfb86a785
>        https://github.com/qos-ch/logback-decoder/commit/f9b87f6ddd1c3aa4f82e2280937f48bcfb86a785
>    Author: Tony Trinh<tony19 at gmail.com>
>    Date:   2012-06-18 (Mon, 18 Jun 2012)
>
>    Changed paths:
>      M pom.xml
>      A src/main/java/ch/qos/logback/decoder/CallerDataRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/ClassOfCallerRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/ContextNameRegexConverter.java
>      M src/main/java/ch/qos/logback/decoder/DateRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/ExtendedThrowableProxyRegexConverter.java
>      M src/main/java/ch/qos/logback/decoder/FileOfCallerRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/IdentityRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/LevelRegexConverter.java
>      M src/main/java/ch/qos/logback/decoder/LineOfCallerRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/LineSeparatorRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/LoggerRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/MDCRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/MarkerRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/MessageRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/MethodOfCallerRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/NopThrowableInformationRegexConverter.java
>      M src/main/java/ch/qos/logback/decoder/PatternLayoutRegexifier.java
>      A src/main/java/ch/qos/logback/decoder/PropertyRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/RegexPatterns.java
>      A src/main/java/ch/qos/logback/decoder/RelativeTimeRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/ReplaceRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/RootCauseFirstThrowableProxyRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/ThreadRegexConverter.java
>      A src/main/java/ch/qos/logback/decoder/ThrowableProxyRegexConverter.java
>      M src/test/java/ch/qos/logback/decoder/PatternLayoutRegexifierTest.java
>      A src/test/java/ch/qos/logback/decoder/RegexPatternsTest.java
>
>    Log Message:
>    -----------
>    ongoing work on layout-pattern-to-regex converters (2)
>
>



More information about the logback-dev mailing list