The NSW government will phase out logging in public native forests by 2030 and take the decision to the March election. 

The state-owned Forestry Corporation's native logging business lost $18 million last financial year and $32 million the year before.

Forestry Corporation has been convicted of illegally cutting down giant and hollow-bearing trees. 

The government-funded Environment Protection Authority (EPA) prosecutes those cases, so taxpayers pay for both sides.

In one case this year, the EPA estimated its legal costs at $715,000.

When the National Account asked Premier Chris Minns about this on Friday, he said the "lawfare" had impacted the government's decision.

Watch the National Account's Archie Milligan below: