changed logger for registered