Only log if there are null pointers