Added more accurate logging message