add redis connection and message logging
authored by nekomimi.pet and committed by Tangled 1 month ago cffa87f0 f7471812