How to debug or see logs of custom python script services?

I am using python requests library to reroute the the API which are received by Dreamfactory to another REST service , the response from that service is then again passed through the python custom scripts . but How to debug or see log for the same ?

To enable logs you can reference our Guide article on this topic. Once enabled you can use things like print and extend the platform by importing logging. After you will find the log files under the “Files” tab.