Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试调试代理存储库的问题,给我一个 404 的工件,我知道它存在于被代理的存储库中(在我的情况下,这是一个 NPM 包)。
我想启用日志记录,以便我可以看到 Nexus 在响应该代理请求时尝试访问的 URL,但似乎找不到任何提供此输出的默认记录器。
我需要设置什么记录器以及在什么级别才能看到这个?
如果您将 org.apache.http.wire 切换到 DEBUG,您将获得大量关于正在进行哪些调用的信息,几乎是太多的信息。这将为您提供如下信息:
这是通过切换该值然后install.packages("xts", repos="http://localhost:8081/repository/r-proxy")从 R Studio 对 CRAN 的 R 代理存储库执行的操作而生成的。
install.packages("xts", repos="http://localhost:8081/repository/r-proxy")