Start a new topic
Answered

Username in Tomcat Access Logs

In xDM v5.3, Why Is Current Username No Longer Added to Tomcat Access Logs?


Best Answer

In 5.3 the authentication is not handled by tomcat anymore and so the %u does not return the username anymore. 

However, xDM adds the username as a session attribute so if you add {userName}s to the Access Log Valve pattern, it should log the username.

1 Comment

Answer

In 5.3 the authentication is not handled by tomcat anymore and so the %u does not return the username anymore. 

However, xDM adds the username as a session attribute so if you add {userName}s to the Access Log Valve pattern, it should log the username.

Login to post a comment