Changed the logger class