What is the problem?
I am wanting to see if a client (an ESP32) is connecting to the Octoprint API. There is an intermittent connection from the device to the server which connects every 10 seconds to check (for now, for testing) the API and server version numbers - endpoint url "GET /api/version". Other clients and devices work, so I just want to see if Octoprint is actually receiving the GET request, but I can't track down what log file if any will advise of connection attempts.
What did you already try to solve it?
Have looked in log files in "/var/log/" and also "/home/pi/.octoprint/logs", but can't see anything about connection attempts, API calls, etc?
Any help or advise would be much appreciated as to where to look, and if the API logs anything at all?