How to get debugging logs in OLS webserver

Hi guys, i need to get django debugging (print) logs, like this

print(‘hello world this is my paramms’)

but only access.log and errors.log are shown.
How do I do this?

Can you please elaborate more as to what you’re looking to do? I’m not understanding your objective from what you’ve posted.

Thinking about this some more, are you trying to capture the output from print statements?

If so, the short answer is you don’t. What you want to do is implement Django Logging in your app to allow those logs to be managed in a production-mode type of environment. (Among other features, logging will perform file-log management to keep you from having to manage that space yourself. It can also direct logs to multiple locations, write them to syslog, etc.)

Ken