我在Jersey客户端的日志中获得了不需要的信息。如何摆脱这些日志

时间:2018-11-20 13:34:32

标签: java jersey jersey-client

我通常会在日志中收到以下消息,这会导致日志污染,并且很难在日志中找到重要信息。例如,是否缺少依赖项?

Searching for providers that implement: interface com.sun.jersey.client.proxy.ViewProxyProvider
Searching for providers that implement: interface com.sun.jersey.spi.inject.InjectableProvider
Provider found: class com.sun.jersey.core.impl.provider.xml.SAXParserContextProvider
Provider found: class com.sun.jersey.core.impl.provider.xml.XMLStreamReaderContextProvider
Provider found: class com.sun.jersey.core.impl.provider.xml.DocumentBuilderFactoryProvider
Provider found: class com.sun.jersey.core.impl.provider.xml.TransformerFactoryProvider
Searching for providers that implement: interface javax.ws.rs.ext.MessageBodyReader
Provider found: class com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider
Provider found: class com.sun.jersey.core.impl.provider.entity.StringProvider
Provider found: class com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
Provider found: class com.sun.jersey.core.impl.provider.entity.FileProvider
Provider found: class com.sun.jersey.core.impl.provider.entity.InputStreamProvide

0 个答案:

没有答案