0

I made a simple website with Flask running a waitress server.

from flask import flask

app = Flask(__name__)

if __name__ == "__main__":
    from waitress import serve
    serve(app, host="0.0.0.0", port=5000)

When I run the script it runs fine, but it doesn't show a log of the ip addresses of the visitors anymore. How can I show it or save it in a text file?

Thanks

0 Answers0