Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1991

SharedResourceRequestTarget logs ERRORs to the logfile on 404 (client errors)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4-RC1
    • Fix Version/s: 1.4-RC2
    • Component/s: None
    • Labels:
      None

      Description

      Client errors are not programming errors, nor fatal errors, nor errors realy at all on the server side. The server should just handle it as a normal occurrence (a resource is requested that does not exist, i.e., 404).

      I agree that the current log statements are useful for development/debugging purposes, so I suggest to demote the log.error statements in the respond method to log.debug statements.

      Patch is attached.

        Attachments

        1. patch
          1 kB
          Sebastiaan van Erk

          Activity

            People

            • Assignee:
              jdonnerstag Juegen Donnerstag
              Reporter:
              sebster Sebastiaan van Erk
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: