add initRedisHandler method

added function initRedisHandler to init a redis logging handler