https://bz.apache.org/bugzilla/show_bug.cgi?id=63545

--- Comment #3 from Eugène Adell <eugene.ad...@gmail.com> ---
The patches add a %R pattern attribute

When the 2 patches are applied, I get the expected result when testing a
DataSourceRealm with the following valve :

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %R %t
&quot;%r&quot; %s %b" />


Results

one role :
127.0.0.1 - jimmy user [06/Jul/2019:11:54:11 +0200] "GET
/db/restricted/index.jsp HTTP/1.1" 200 9

three roles : 
127.0.0.1 - jimmy admin,contributor,user [06/Jul/2019:11:55:10 +0200] "GET
/db/restricted/index.jsp HTTP/1.1" 200 9

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to