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?

1 Like

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

How did you manage to get gunicorn logs when using a docker based service? I’m not even getting that.

Hey Edgard,

I see that you’ve already initiated a support ticket with us. To avoid any confusion or duplicate efforts, let’s continue the conversation there

Regards.
Jérémy, Render Support