diff --git a/source/log4net-loggly/LogglyFormatter.cs b/source/log4net-loggly/LogglyFormatter.cs index 3ad3c6e..ec0196c 100644 --- a/source/log4net-loggly/LogglyFormatter.cs +++ b/source/log4net-loggly/LogglyFormatter.cs @@ -83,6 +83,7 @@ private static string ToJsonString(JObject loggingInfo) loggingInfo, new JsonSerializerSettings { + Formatting = Formatting.None, ReferenceLoopHandling = ReferenceLoopHandling.Ignore, }); }