Skip to content

Rewrite AccessLogformatter with parser library #2967

@htuch

Description

@htuch

We're doing a lot of manual crufty stuff with substrings and parentheses matching to parse out the require format strings. We should probably switch to some formal grammar for the access log format strings (e.g. EBNF) and use a parser library or generator (e.g. yacc). This issue will track improvements here.

CC: @mattklein123 @derekargueta

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recentlytech debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions