Removing log and tmp files