update rotate logger