From 2af2045f855c4700b04fe4d835ce84af7035d355 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Wed, 19 Apr 2017 19:07:57 +0200 Subject: [PATCH] Some logging for pubsub --- src/Squidex.Infrastructure.Redis/RedisSubscription.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Squidex.Infrastructure.Redis/RedisSubscription.cs b/src/Squidex.Infrastructure.Redis/RedisSubscription.cs index a7b628dd8..65fe05059 100644 --- a/src/Squidex.Infrastructure.Redis/RedisSubscription.cs +++ b/src/Squidex.Infrastructure.Redis/RedisSubscription.cs @@ -77,6 +77,10 @@ namespace Squidex.Infrastructure.Redis var token = string.Join("#", parts.Skip(1)); subject.OnNext(token); + + log.LogDebug(w => w + .WriteProperty("action", "ReceiveRedisMessage") + .WriteProperty("state", "Received")); } } catch (Exception ex)