Local Log-linear Models for Capture-Recapture