Added logging of view lookups