params is an object - fix logging