gelf4net icon indicating copy to clipboard operation
gelf4net copied to clipboard

where are params and their defaults documented

Open jasonrberk opened this issue 3 years ago • 1 comments

what is the default value for SendTimeStampAsString? My new Graylog instances is complaining

GELF message (received from host:port) has invalid "timestamp": 1661540192.05392 (type: STRING)

where are the the params documented?

jasonrberk avatar Aug 26 '22 19:08 jasonrberk

Hi

The default value is true

https://github.com/jjchiw/gelf4net/blob/master/src/Gelf4Net.Core/Layout/GelfLayout.cs#L22

Here is how the transformation it's done https://github.com/jjchiw/gelf4net/blob/master/src/Gelf4Net.Core/GelfMessage.cs#L70

jjchiw avatar Aug 29 '22 09:08 jjchiw