spring - How do I get the user in tomcat's access log? -
i have spring application running on tomcat running on ec2 instance managed aws elastic beanstalk. application uses http basic authentication , log properties not overriden. believe default log format access logs is: "%h %l %u %t "%r" %s %b"
%u supposed give user in http authentication.
however, logs have - in user column. line of log looks like:
127.0.0.1 - - [15/aug/2017:05:43:33 +0000] "get /v1//client/test/team http/1.1" 200 319
how display username passed in http basic auth header?
Comments
Post a Comment