updated logger class in error message