cdancy / bitbucket-rest

Java client, built on top of jclouds, for working with Bitbucket's REST API
Apache License 2.0
76 stars 57 forks source link

[Feature Request] Log requested URLs #351

Open SuppenNudel opened 2 years ago

SuppenNudel commented 2 years ago

I want to be able to output/log the URLs that are being requested. Is there already a way to do this?

I don't know how to write you other than via Issues. I'm sorry if this is the wrong way to reach you.

cdancy commented 2 years ago

@SuppenNudel enable debug logging will get the URL's as well as any additional http wire logs output to stdout

SuppenNudel commented 2 years ago

How do I do that? I don't find anything with logging or debugging in the readme file.

cdancy commented 2 years ago

@SuppenNudel depending on how you're using the library the most simplest way would be to pass along a jvm debug arg which you can search online how to do so. If you're using groovy/gradle there are also other means. You can also use a logback config which is described below:

https://jclouds.apache.org/reference/logging/