Improve log_pinhole
and support non-RDF pinholes
#2614
Merged
log_pinhole
and support non-RDF pinholes
#2614