Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4103

When an action is not found an error which cannot be silenced is logged when not in dev mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.14.3
    • 2.3.16
    • None
    • None

    Description

      WW-2874 describes a scenario in which crawlers hitting an all lowercase version of an action name returns a 404 but also logs an error. The solution was to only log errors in devMode.

      However the same exception is passed to the sendError method which later logs it again as an error but only when not in dev mode. This exception cannot be silenced without silencing the whole of the Dispatcher class.

      In dev mode the Exception is logged as debug.

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              murdoch84 Andrew Murdoch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: