Redundant null check, logger is final and is already initialized and hence cannot be null.