-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gateway needs to log all the requests for better logging #7873
Comments
Re-posting comment from the forums:
So the action here would be to add some additional Debug lines so one can enable useful gateway logs via Bare minimum would be to log for each request, a pair:
@dmellos would the above be enough, or would you be interested in any additional info? |
@lidel , I think lets include HTTP response status and request type (GET/POST) along with request URL and the content path, and that should be enough. |
Hello! I can pick this up if no one is working on it. Would this log line work? And adding a debug log for all errors in webErrorWithCode to see the reason for failure: |
Hey 👋 , I've created this #8518 for addressing this issue. Thanks! |
This should be closed. |
https://discuss.ipfs.io/t/ipfs-logging-configuration/9771/8
I am trying to download the content from the gateway. I do not see any logs for my requests in the ipfs logs.
What if the hash I am using is incorrect?
What if one ipfs node (not having the content on its ow repo) is waiting for an another node to get the data?
I need to see these details in the logs, but there are no logs for gateway requests.
The text was updated successfully, but these errors were encountered: