Log derivatives a little more tidily.