Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8700

REST access log is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.0.Final
    • 9.2.0.Final
    • REST, Server
    • None

      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

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: