changed logger class