]
Gustavo Fernandes updated ISPN-8700:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.2.0.CR2
Resolution: Done
REST access log is broken
-------------------------
Key: ISPN-8700
URL:
https://issues.jboss.org/browse/ISPN-8700
Project: Infinispan
Issue Type: Bug
Components: REST, Server
Affects Versions: 9.2.0.Beta2
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.2.0.CR2
The REST access log is broken in several ways:
(REST-REST-ServerWorker-6-1) /127.0.0.1:42054 [54208501] "GET /" 404 0 13
54208501 ms
(REST-REST-ServerWorker-6-1) /127.0.0.1:42054 [54261112] "GET /rest/default"
200 0 51 54261112 ms
Todo:
- remove the thread name
- only print the remote address, without the initial / and the port
- fix the processing time, and print it only once
- print the request time using an appropriate format: [10/Oct/2000:13:55:36 -0700]
- use a nicer logger category instead of the class name of the logger
- print the user principal