Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I trace RESTEasy's dispatch?

Tags:

resteasy

We're running RESTEasy 2.3.0.GA here and I'm struggling with a https://stackoverflow.com/questions/18219237/jax-rs-path-regex-fails-for-just-one-of-an-or-expression and I can't figure out how to get RESTEasy to fess'up why it thinks a particular URI is not mapped to my handler. Is there some debug level I can crank up to get RESTEasy to reveal its dispatch?

like image 395
Bob Kuhar Avatar asked Dec 13 '25 03:12

Bob Kuhar


1 Answers

The docs are vague about what you'll get, but the Logger they are using log4j, logback, and java.util.logging. In my case, adding the following to logback.xml gives me some sparse information.

<logger name="org.jboss.resteasy.core" level="debug" />
<logger name="org.jboss.resteasy.specimpl" level="debug" />
<logger name="org.jboss.resteasy.plugins.server" level="debug" />

http://docs.jboss.org/resteasy/docs/2.3.0.GA/userguide/html/Installation_Configuration.html#RESTEasyLogging

like image 122
Bob Kuhar Avatar answered Dec 16 '25 22:12

Bob Kuhar



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!