Enable stack trace logging


(RABOEUF) #1

Hello

I need to know how is possible to enable stack trace logging, I already view this topic : “Docker graylog server and stack trace” but…

Thx in advance

Jeremie


(Jan Doberstein) #2

Hej @Jeremie

you should be a little more verbose on your question. We do not know what your target is, we do not know what you already tried, we do not know where you did not catch the fish.

You know …

Jan


(RABOEUF) #3

I use graylog for my Docker environnment, I already configure it and it’s works :slight_smile:
But we have some messages cut line by line, normaly this message is all in one


(Jan Doberstein) #4

nice that it works for you.

as you do not share how you ingest your logfiles, the short answer is - enable multiline messages.


(RABOEUF) #5

Here a little screenshot

How enabling multiline messages ?


(Jan Doberstein) #6

ok, one time - as I do not like to play ping-pong.

What kind of logfile did you send how to Graylog?

I think that you might just enabled the GELF logger of Docker to ingest GELF Messages to Graylog. If that is the case I have bad new:

The Docker Team will not support multiline logfiles. All the above can be found in this community - just do a search!

You would need some kind of logshipper in your docker container that can read multiline files and ship that over to Graylog. Graylog can’t merge single events into one.


(RABOEUF) #7

Yes I only configure like this on docker hosts
image
Ok I will try to search docker side :slight_smile:
thx


(system) #8

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.