Skip to content

Instantly share code, notes, and snippets.

@sachin-handiekar
Created September 8, 2015 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sachin-handiekar/0241ff3d05972129e722 to your computer and use it in GitHub Desktop.
Save sachin-handiekar/0241ff3d05972129e722 to your computer and use it in GitHub Desktop.
Enabling Access log in jBoss Portal 6.1 / jBoss EAP 6
<subsystem xmlns="urn:jboss:domain:web:1.2" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" />
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost" />
<alias name="example.com" />
<access-log pattern="%h %l %u %t %r %s %b %{Referer}i %{User-Agent}i %S %T" prefix="access_log_" />
</virtual-server>
</subsystem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment