I am running a Bokeh app via the bokeh serve command. I would like to monitor the connections to the server to have statistics about the way my app is used. Is there a simple way to record the connections logs?
I tried to add to my code
import sys sys.stdout=open("logs.txt","w")
... my code ...
and also to run my code with:
bokeh serve --show myapp.py > logs.txt
None of these solutions worked.