Set logging in config