logger can't be final, for test purposes.