I've been using Tuckey Rewrites for a long time and one of my favorite things about it is the very rich amount of debug and trace logging information it has.  There's not another rewrite engine out there I've seen that makes it this easy to debug what's happening.  The trace level logging gives you a full blow-by-blow of each rule that's processed, what the input was, and what the result of each condition was.  

As much as I love Undertow's predicates and handlers, the logging is, well, abysmal :)  I'd like to do some work to improve what gets sent to the request_logger for debugging the predicates and handlers that fire for a request as part of the PredicatesHandler.  My high-level approach is as follows:
So again, I'm offering to work on this and contribute it to Undertow as a pull, but I'd like some feedback on my idea and a general sanity check on whether I'm wasting my time here.  Well, honestly, I'll probably do the work regardless because the user's of my Undertow-powered tool will need it, but I'd like to know if these improvements would be welcomed into the core.

Thanks!

~Brad

Developer Advocate
Ortus Solutions, Corp 

ColdBox Platform: http://www.coldbox.org