Added logging to parameter getting.