Skip to content

Instantly share code, notes, and snippets.

@mcupak
Last active September 21, 2017 12:28
Show Gist options
  • Save mcupak/e5d4eeea1cc5b9684718d775f2966c9e to your computer and use it in GitHub Desktop.
Save mcupak/e5d4eeea1cc5b9684718d775f2966c9e to your computer and use it in GitHub Desktop.
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
@vetallp
Copy link

vetallp commented Sep 21, 2017

It helped, thank you!
But how can I turn it off now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment