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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -