We should use a proper logging util. I think there might be one already. Not sure stdout shows up in the log.