log more details on register shutdown function