Fix sample log function call

Refs #10094
Merge branch 'feature/10094_support_diffraction_corrections' into develop