-
Notifications
You must be signed in to change notification settings - Fork 280
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
git_trace_set in Rugged #902
Comments
It's true. You cannot enable tracing from rugged. One would first have to add that feature and link against a libgit2 with tracing enabled. |
Do you know if we have any documentation I could follow to add the methods? @carlosmn |
One warning here is that libgit2 - generally speaking, at least - does not really emit any useful tracing for you to catch. If you're running into problems that you need to surface into your logging system, and you're going to go instrument libgit2 to catch some error, that's great. (That's what we added the logging functionality for.) If you're going to add a bunch of trace statements in libgit2, then it makes sense to do this work. I just wanted to mention that in case you were planning on wiring up tracing in rugged itself, and then were disappointed when you didn't see anything. 😁 (Actually, I think some of the http code sends tracing because it helped implement it.) |
Ah thank you @ethomson maybe I will hold off then. I am trying to debug intermittent clone errors with Rugged, was hoping for |
It doesn't look like
git_trace_set
is implemented for Rugged. Is that true?If not how does one activate tracing when using Rugged?
The text was updated successfully, but these errors were encountered: