agusmakmun / django-log-viewer

Django Log Viewer allows you to read & download log files in the admin page
https://pypi.org/project/django-log-viewer/
MIT License
74 stars 30 forks source link

Not seeing log files with daphne and nginx combination #19

Closed calvma closed 3 years ago

calvma commented 3 years ago

Hello! Thanks for this package!

I'm having an issue seeing the log files in production when serving staticfiles and an upstream daphne server with nginx. Everything is fine when accessing the view with just daphne or with python manage.py runserver, so I'm wondering what aspect of the response isn't working with nginx since log files aren't being served statically, but as json data. I'm also not seeing any errors or exceptions in the daphne logs coming from this package, so it's hard to tell what's going on

calvma commented 3 years ago

the issue is the js and css staticfiles aren't being served because i forgot to run python manage.py collectstatic

False alarm!