You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format of Logstash message has been changed some time ago (https://gist.github.com/jordansissel/2996677, note the message instead of @message). Sadly, these changes was not reflected in winstonjs.
Winston also has proposed change to remove logstash option in favor of custom formatter (winstonjs/winston#452). And, I think, It is a right thing to do, having logstash-related code in winston seems pretty hack-ish to me.
So I reckon that we should use custom formatter here instead of logstash : true.
The text was updated successfully, but these errors were encountered:
Wait, I just discovered that the issue I have is not related to winston-logstash. I don't use logstash : true, and it is not set to true by default (as I thought). The message format inconsistencies is somehow related to Logstash itself.
Hi.
The format of Logstash message has been changed some time ago (https://gist.github.com/jordansissel/2996677, note the
message
instead of@message
). Sadly, these changes was not reflected inwinstonjs
.Winston also has proposed change to remove
logstash
option in favor of custom formatter (winstonjs/winston#452). And, I think, It is a right thing to do, havinglogstash
-related code inwinston
seems pretty hack-ish to me.So I reckon that we should use custom formatter here instead of
logstash : true
.The text was updated successfully, but these errors were encountered: