Updated output to use proper logger