Django wsgi app with cherrypy not able to see request response in log

15 views
Skip to first unread message

Avinash kumar

unread,
Oct 19, 2023, 9:32:54 AM10/19/23
to cherrypy-users
1. i have tried cherrypy.tree.mount(),
and it give all the response requiest comming to cherrypy like:-
172.23.0.1 - - [19/Oct/2023:12:02:51] "GET /auth/ping HTTP/1.1" 404 656 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
but it thorugh error 404 not found may be because of my django app is  foreign WSGI application
so i tried cherrypy.tree.graft(), and this is serving fine with my application but it cut all the request response from the log.
Reply all
Reply to author
Forward
0 new messages