Temperature monitor and logging to prevent overheating, damage, and safety risks