Skip to content

JsonLayout IncludeEventProperties with DottedRecursion = true #5991

@snakefoot

Description

@snakefoot

When doing recursive reflection of LogEvent-properties, then instead of producing a nested Json-Document, then produce a flatten view using dotted properties:

DottedRecursion = false (Default):

"properties": {
    "person": {
        "name": "Bob"
    }
}

DottedRecursion = true:

"properties": {
   "person.name": "Bob"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions