From 17fd8508c271ac701861f5008accc8d84c5abf84 Mon Sep 17 00:00:00 2001 From: LucHeart Date: Wed, 27 Sep 2023 20:57:07 +0200 Subject: [PATCH] remove debug --- API/Utils/ShockLinkEnricher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");