Use file rotating to limit the log size.