In any action or claim for relief alleging nuisance or trespass and arising from a practice that is alleged by either party to be a farming or forest practice, the prevailing party shall be entitled to judgment for reasonable attorney fees and costs incurred at trial and on appeal.
ORS 30.938