Refs #8808 Add sample log for both types of constraint.