Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Switch off additional fields while using Logback #144

@burningalchemist

Description

@burningalchemist

Hi!

Could you please advise how I can switch off all the additional fields while using logback, like these:

SourceClassName
SourceSimpleClassName
SourceMethodName
SourceLineNumber

Currently, when default-logstash-fields.properties doesn't exist I observe all the additional fields. So far I would like to keep only default fields (as in the documentation) like:

host
short_message
full_message
timestamp (Java millis/1000)
level (syslog severity)
facility

I have found a workaround, when I provide default-logstash-fields.properties with the content like:
""=Time, then I see only default values in my logging solution. Still, it looks ugly and I think there should be a better way.

Kind regards,
Sergei

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions