Added some debug logs to the recovery process