Set the logger in one place