Fixing Python UnicodeDecodeError in Logging Handlers - Docker Container Exits Right Away: Restart Policy Fix-How to Handle Huge Files in Python Without Memory Issues

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.