Move code after logging it for consistency.
Move code after logging it for consistency.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core