Verb-object compound, composed of spacca (“to break, to split”) + legna (“firewood”).
spaccalegna m or f by sense (invariable)