Fixing Python UnicodeDecodeError in Logging Handlers - VS Code Terminal Not Opening with SSH: Fixes-Nginx Permission Denied Error Log Location and Fix

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