add some logging to shard id append