add params logging