Add logging to params