Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5250 | minor | always | 10-19-12 07:58 | 10-22-12 16:23 | |
|
|||||
Reporter: | cowan | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.33 | ||
|
|||||
Summary: | 0005250: %u fails to populate user principal in access log | ||||
Description: |
From W. Tao Our access log format settings: <access-log path="/var/log/resin4/access.log" format='"%{host}i" %h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" %T' rollover-size="500mb"/> Log entry from access.log Oct 19 16:22:52 xxx xxx - - [19/Oct/2012:16:22:50 +1100] "GET /xxx.js HTTP/1.1" 200 415 "https://xxx" [^] "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4" 0 you can see that no username was logged although the servlet request has principle already. |
||||
Steps To Reproduce: | |||||
Additional Information: | I verified we are setting LOGIN_USER (caucho.user) in the session, but not LOGIN_USER_NAME (caucho.user.name). HttpServetRequestImpl.getRemoteUser(boolean) queries for LOGIN_USER_NAME which is not set. | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|