Changing how the logger gets it's variables