Add MetadataDBId to log output for survey