Added proper logging messages after index creation.

It was dumping `[Object object]` fixed it.