[infinispan-issues] [JBoss JIRA] (ISPN-8700) REST access log is broken

Tristan Tarrant (JIRA) issues at jboss.org
Wed Jan 17 09:43:00 EST 2018


Tristan Tarrant created ISPN-8700:
-------------------------------------

             Summary: 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


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




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list