In action for trespass on property, the court and jury or judge shall determine whether the trespass was committed willfully. If so found, a record thereof shall be made and a memorandum thereof minuted on the margin of the execution.