Log data of unit failures

There are a couple of remote login solutions available you might want to investigate.