changing logger class