diff --git a/API/Utils/ShockLinkEnricher.cs b/API/Utils/ShockLinkEnricher.cs index 608a89a5..7315c195 100644 --- a/API/Utils/ShockLinkEnricher.cs +++ b/API/Utils/ShockLinkEnricher.cs @@ -30,7 +30,7 @@ public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory) logEvent.AddOrUpdateProperty(new LogEventProperty("RequestHost", new ScalarValue(ctx.Request.Headers[HeaderNames.Host].FirstOrDefault()))); logEvent.AddOrUpdateProperty(new LogEventProperty("RequestReferer", new ScalarValue(ctx.Request.Headers[HeaderNames.Referer].FirstOrDefault()))); - logEvent.AddOrUpdateProperty(new LogEventProperty("Headers", new DictionaryValue(ctx.Request.Headers.Select(x => new KeyValuePair(new ScalarValue(x.Key), new ScalarValue(x.Value)))))); + //logEvent.AddOrUpdateProperty(new LogEventProperty("Headers", new DictionaryValue(ctx.Request.Headers.Select(x => new KeyValuePair(new ScalarValue(x.Key), new ScalarValue(x.Value)))))); TryAddVar(logEvent, ctx, "User"); TryAddVar(logEvent, ctx, "Device");