Improved logging (on boot, on power connect/disconnect)