mkdir log and img