fix redis log handler, other small fixes.