change logging handler to time rotated