How to enable jboss access log

Jboss or Wildfly

Add the following to jboss/server/<InstanceName>/deploy/jbossweb.sar/server.xml in all instaces to enable htttp logging.

<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix="access." suffix=".log"
pattern="%t %h Code:%s %Tsec - %Bbytes --%r" directory="${jboss.server.log.dir}"
resolveHosts="false" />

This will enable http access logging in Jboss.

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.