Skip to content

Remove redundant parameter values #7

@YasiruR

Description

@YasiruR

When log entries do not contain additional params (e.g. prefix, context), they are still logged with empty values as shown in the image below.

current_output

These empty values, a) do not add any meaning to the logs and b) obscure the clarity of logs with multiple redundant square brackets.

IMPO, such empty values can be omitted for better visibility and comprehension of the logs, unless this empty behaviour is intentional. See the below image for the expected outcome.

proposed_output

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