Putting in a logger and a fakelogger for testing