-
-
Save camilb/b1d969d5415e5322534f8afcab0bdf80 to your computer and use it in GitHub Desktop.
Enabling access log with Undertow on WildFly - http://mirocupak.com/logging-requests-with-undertow/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script for enabling access log based on Undertow on WildFly. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=enable-access-log.cli | |
batch | |
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(pattern="%h %t \"%r\" %s \"%{i,User-Agent}\"",use-server-log=true) | |
run-batch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment