Skip to content

Instantly share code, notes, and snippets.

@mcupak
Created October 9, 2017 05:13
Show Gist options
  • Select an option

  • Save mcupak/a50afb73b547355e91eca45fef471e8d to your computer and use it in GitHub Desktop.

Select an option

Save mcupak/a50afb73b547355e91eca45fef471e8d to your computer and use it in GitHub Desktop.
Setting up an access log with WildFly.
...
<profile>
...
<subsystem xmlns="urn:jboss:domain:undertow:3.0">
...
<server name="default-server">
...
<host name="default-host" alias="localhost">
...
<access-log use-server-log="true"
pattern="%h %t &quot;%r&quot; %s &quot;%{i,User-Agent}&quot;"/>
...
</host>
</server>
...
</subsystem>
...
</profile>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment