documentation
documentation copied to clipboard
Additional Fields with Newlines Cause Message to be Dropped
If I try to log a GELF message that contains an "additional field," such as _stackTrace, and that field's value contains a newline, even when properly encoded with \n, the entire message will be dropped, and no diagnostic information is logged anywhere, as far as I can tell.
Context
Trying to log exceptions with stack traces.
Expected Content
A note in the documentation for the GELF message format, containing a description of allowed characters in "additional fields," would alert people to this behavior. Alternately, if this behavior is not the intent of Graylog devlopers, let me know, and I'll file a bug report for Graylog itself.
Your Environment
Ubuntu 18.04 LTS, custom C++ client library, official Graylog Docker image, UDP input.
- Graylog Version: 3.0.0+db6cf59