This plugin can designate trees for chopping when your stocks are low on logs.
Then, open the settings menu with c from the designations menu (the option appears when you have “Chop Down Trees” selected with d-t).
Set your desired thresholds and enable autochopping with a.
You can also restrict autochopping to specific burrows. Highlight a burrow name with the Up/Down arrow keys and hit Enter to mark it as the autochop burrrow.
Autochop checks your stock of logs and designates trees once every in game day.