Added some logging (but only of the keys we see, not the values).