Sustainable logging isn't enough in itself to really maintain insect diversity because logging forests aren't very diverse forests so they only help a small number of insects thrive. But if done right (e.g. leaving some dead tree trunks behind when harvesting, as homes for insects) it is much better than nothing.