Probably better logarithm adaptations for #5