digitalocean / captainslog

A Syslog Protocol Parser
Mozilla Public License 2.0
136 stars 19 forks source link

Problem: Building a SyslogMsg with SetContent does not set IsJSON flag if the message is JSON #77

Closed marc-lebourdais closed 6 years ago

marc-lebourdais commented 6 years ago

This causes the msg field to be populated with the string representation of the Content, which may be JSON. If that Content contains a field labeled msg, it will be overwritten by the JSON string.

justinbeal commented 6 years ago

:+1: let's merge it when CI goes green