Jump to: navigation, search
MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > Enabling access logs in tomcat for deeper diagnosis of authentication requests
Troubleshooting Icon.png
Troubleshooting
Product ConnectXf
Version 3.10
Applies to Administrators
Level Advanced




Enabling access logs in tomcat for deeper diagnosis of authentication requests

Requirement

Sometimes the data in the access logs of Apache is not sufficient to diagnose authentication requests or deeper level of diagnosis of requests to the applications hosted with tomcat.

Solution

Tomcat has an access log facility similar to Apache. It is disabled by default.'

It can be enabled by changing configuration in server.xml for each tomcat instance.

It can be useful to debug the requests being served by tomcat. It also has the username in the log line for each authenticated requeust which is not available in apache logs.

Find the steps at : http://manikandanmv.wordpress.com/2009/10/24/enabling-tomcat-access-logs/

Tomcat Reference at : http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html