Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker graylog splits up stacktraces #22979
I am just getting started with docker and graylog and I have run into a snag. Docker is splitting up stacktraces so that each line is a new log. This is not optimal, and makes viewing the entire stack trace impossible.
I setup my docker container from the instructions found here https://www.graylog.org/blog/28-centralized-docker-container-logging-with-native-graylog-integration
Is there some step that I am missing?
Yes, this is the way logging works in Docker; log-entries are separated by newlines, because there's no way for Docker to "detect" if multiple lines should be treated as a "single" log-entry, or as multiple.
See the discussion on #22920 for some background / context.
Unfortunately, I'll have to close this issue, but possibly we can have more features (including this use case), if there's an option to add custom logging-plugins.