Fix Logger initialization