Added logging to geometry