Merge changes from topic "snapshot_migration" into tm-dev

* changes:
  Add logSnapshot() function
  Refactor getCollectionIdHashCode()