Added an override of log_message, so that we can use proper logging rather than printing to STDERR as the base class does.