mirror of
https://github.com/thecyberlearn/modern-django-starter.git
synced 2026-08-18 19:52:55 +00:00
## Issue Fixed: - Django production logging was trying to write to `/var/log/django/django.log` - This directory doesn't exist in Docker containers, causing deployment failures - Error: `FileNotFoundError: [Errno 2] No such file or directory: '/var/log/django/django.log'` ## Solution: - **Modified production.py**: Switched from file-based to console-only logging - **Docker-friendly logging**: All logs now go to stdout/stderr for container compatibility - **Dokploy integration**: Logs are now visible in Dokploy's log viewer - **Added troubleshooting**: Updated DOKPLOY.md with this specific error and solution ## Benefits: - ✅ Works seamlessly with Docker containers - ✅ Integrates with Dokploy log viewing system - ✅ No file permissions or directory creation issues - ✅ Standard practice for containerized applications This fixes the deployment failure identified in the Dokploy logs. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| development.py | ||
| production.py | ||