This happens if you try to log something that is longer than 64kb without newlines through something like cmd.Stdout = logrus.Writer().
This can cause a denial of service in some cases.
The culprit is here:
https://github.com/sirupsen/logrus/blob/master/writer.go#L58-L59
Maybe it needs a custom scanner.Split(...) function or some other invention.