# How to get debugging logs in OLS webserver

**URL:** <https://forum.djangoproject.com/t/how-to-get-debugging-logs-in-ols-webserver/3614>\
**Category:** Using Django\
**Created:** [July 26, 2020, 7:44am UTC](https://forum.djangoproject.com/t/how-to-get-debugging-logs-in-ols-webserver/3614 "2020-07-26T07:44:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mshzsh](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/mshzsh/32/1432_2.png) [@mshzsh](https://forum.djangoproject.com/u/mshzsh)\
**Post date:** [July 26, 2020, 7:44am UTC](https://forum.djangoproject.com/t/how-to-get-debugging-logs-in-ols-webserver/3614/1 "2020-07-26T07:44:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [July 26, 2020, 11:44am UTC](https://forum.djangoproject.com/t/how-to-get-debugging-logs-in-ols-webserver/3614/2 "2020-07-26T11:44:58Z")

</div>

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](https://docs.djangoproject.com/en/3.0/topics/logging/#module-django.utils.log) 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
