namshi / winston-graylog2

Graylog2 transport for winston, a nodejs logging module
MIT License
126 stars 62 forks source link

Send error stack to Graylog #96

Open td-sclemens opened 2 years ago

td-sclemens commented 2 years ago

When logging an error object, Graylog currently receives only the error message. The stack trace is very useful to easily locate the error. I propose to send the stack of the error as full_message, if it is available, as it contains both, the message and the trace.