Fix logging to redis