I took a look at how war weariness works.
My conclusion is that the whole system is very poorly designed, with many surprising and peculiar consequences, and needs an overhaul, or at least some major adjustments.
In rough terms, this is how it works.
war_weariness = war_damage * longest_war...