Changed output to proper logging methods