Fixed path and improve logging, refs #16666