Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Activating RequestDumpingHandler from Undertow on WildFly - https://mirocupak.com/logging-requests-with-undertow/
# Script for activating request logging based on Undertow's RequestDumpingHandler on WildFly.
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=enable-request-dumping-handler.cli
batch
/subsystem=undertow/configuration=filter/custom-filter=request-logging-filter:add(class-name=io.undertow.server.handlers.RequestDumpingHandler, module=io.undertow.core)
/subsystem=undertow/server=default-server/host=default-host/filter-ref=request-logging-filter:add
run-batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment