I am running a simple personal website with very less traffic. I have been seeing some odd requests to server which throws some kind of errors. I mainly see these requests from domains like https://leakix.net/ and other such kind and by some random IP addresses.
Take a look at my very simple implementation of my website at this GitHub repo https://github.com/BeastImran/personal-website/blob/2376f9c01b0af62455a9dd608889f75a3e42d9b6/main.py
I need help with logging such requests so that I can analyze what’s the problem. I am a beginner in these kind of developments, Help would be really appreciated and thank you in advance