Fix logger to always be set