Should load logger first