add stderr redirect support to rotate logger