assigning the logger changes the global state of