[jboss-user] [Beginner's Corner] - Access logging in JBoss 7
Willem Noorduin
do-not-reply at jboss.com
Fri Jul 27 07:37:57 EDT 2012
Willem Noorduin [https://community.jboss.org/people/willemnoorduin] created the discussion
"Access logging in JBoss 7"
To view the discussion, visit: https://community.jboss.org/message/750670#750670
--------------------------------------------------------------
In JBoss 5 you could switch on the access logging by uncommenting the appropriate Valve in the <profile-home>/deploy/jbossweb.sar/server.xml file. I cannot image that this function is vanished into JBoss 7. Reading some posts, I have put:
| | <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> |
| | <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> |
| | <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/> |
| | <virtual-server name="default-host" enable-welcome-root="true"> |
| | <alias name="localhost"/> |
| | <access-log> |
| | <directory relative-to="jboss.server.log.dir"/> |
| | <profix>${jboss.access.log.file}_access_log.</prefix> |
| | <suffix>.log</suffix> |
| | <pattern>common</pattern> |
| | </access-log> |
| | </virtual-server> |
</pre>
In my standalone-full-ha.xml, but I still get no access_log in de jboss.server.log.dir directory. What do I do wrong here ?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750670#750670]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120727/34f38641/attachment.html
More information about the jboss-user
mailing list