Commencer un nouveau sujet
Répondu

Username in Tomcat Access Logs

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


Meilleure réponse

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 commentaire

Réponse

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.

Connexion pour poster un commentaire