Replace printlog() calls with printout()