Null check for parent logger