I'm not losing the debug file when I power off normally. It's just I cannot power off normally on the lock-up as NONE of the remote buttons work, including the power button. If I kill the box by switching off the mains as a result of a lockup I get no debug logs and no crash logs.