Log instance index when registering/unregistering instance

[#61267804]

Signed-off-by: Johannes Tuchscherer <jtuchscherer@pivotallabs.com>