Server logs not showing up in Render web interface for Docker server

Hey, I am not seeing errors in my server logs for one of my services that’s running via a Dockerfile. What am I missing?

I can see the Gunicorn logs but not the underlying Django app logs. Any ideas?

Hi @frankdilo, welcome to the Render community!

It looks like with Django, when DEBUG=False (which it should be when deploying to production), Django won’t log to standard output/error. However, Python has a built in logging module that you can use define the outputs for your logging configuration. Here are some resources around this that might be helpful for setting this up: Django Logging, The Right Way | Lincoln Loop
Logging | Django documentation | Django