Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sonatype Nexus 3 - Logging URLs proxy requests

Tags:

nexus

nexus3

I'm trying to debug an issue of a proxy repository giving me a 404 for an artifact that I know exists in the repository being proxied (this is an NPM package in my case).

I would like to enable logging so that I can see the URL that Nexus is attempting to reach in responding to that proxy request but cannot seem to find any of the default loggers that provide this output.

What logger do I need to set and at what level to see this?

like image 591
Daniel Holmes Avatar asked Oct 19 '25 10:10

Daniel Holmes


1 Answers

If you switch org.apache.http.wire to DEBUG, you will get a plethora of information on what calls are being made, almost too much information. This will give you information such as the following:

Example output from org.apache.http.wire

This was generated by switching that value and then doing a install.packages("xts", repos="http://localhost:8081/repository/r-proxy") from R Studio, against an R Proxy repo of CRAN.

like image 104
DarthHater Avatar answered Oct 22 '25 03:10

DarthHater



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!