config task log file to rotate