When running a Django dev server with docker/fig, why is some of the log output hidden?
I found this old issue today using docker composer. Python logging module checks the output is a terminal so you need to add tty: true
to the service. Example:
version: '2'services: django: tty: true command: python -u manage.py runserver 0.0.0.0:8080 ports: - "8080:8080"