Move external print messages into debug log.