Fixes debug level messages.

CLI -v and -vv options were not working anymore for custom
parameters thus we were missing output for api calls/params.