Redirect jitter registration filter to login

I use jersey for my web service and I customize my web.xml file with a registration filter to filter requests and responses

Jersey uses java.util.logging API

I would like to know how to redirect log to log

This does not seem to work:

<logger name="com.sun.jersey.api.container.filter" level="DEBUG"> 

Could you help me?

+6
source share
1 answer

I am trying to use SLF4JBridgeHandler to connect a JUL to SLF4J, and I have a lot of uninteresting logs in my log file

http://blog.cn-consult.dk/2009/03/bridging-javautillogging-to-slf4j.html

I need to filter, but it seems to work fine

+2
source

Source: https://habr.com/ru/post/911571/


All Articles