Print statement shouldn't be used when all other string output is via a logger

Hi,

This is just a minor change but I noticed that the output was not consistent so I thought it would be nicer to use the logger for this one.

Kind regards,

Peter