Skip to content

Wrong Info Logging with wildcard replace rule  #74

@dobestler

Description

@dobestler

Having a replace rule with wildcards:
fahrrad* => velo$1

(Velo is swissgerman-french-influenced word for Fahrrad - Fahrradschloss becomes Veloschloss)

leads to these wrong info logs:
"fahrradschloss" =>
[2023-04-17T14:32:10,732][INFO ][q.e.i.Log4jSink ] [esp1-dataHorse-3]DETAIL[ QUERQY ] {"id":"86769c95-9c63-43ac-8002-6e29ff07d3c6","msg":{"replace_rules_ruleset":[{"APPLIED_RULES":["fahrradschloss => []"]}]}}

"fahrradschloss abus" =>
Query "[2023-04-17T14:31:30,699][INFO ][q.e.i.Log4jSink ] [esp1-dataHorse-5]DETAIL[ QUERQY ] {"id":"61f6cb32-9af0-4218-bc26-d9e27c8d37a5","msg":{"replace_rules_ruleset":[{"APPLIED_RULES":["fahrradschloss => [abus]"]}]}}

Hypothesis: Info logging seems to not deal well with wildcard replace rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions