Graylog2 / Graylog2/graylog2-server

Don't log a full stack trace for missing mandatory GELF fields

Open
#24,607 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

A missing mandatory GELF message field causes an `IllegalArgumentException` to be logged with a full stack trace. This is excessive.

## Why?

Graylog2/support#361

Logs become bloated without providing anymore useful information about the error. Logging a single line error is enough. This should also be rate-limited logging.

## Your Environment

* Graylog Version: 7.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.