Ignore the extra directory
Add optional all flag to flog task.