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

Add new struts.devMode.exception flag and dedicated LOG.warnDev() and LOG.errorDev()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 2.3.14.2
    • Fix Version/s: 2.5.x
    • Component/s: "New" API
    • Labels:
      None

      Description

      The idea is to have a dedicated flag struts.devMode.exception = true/false to show or not exception in devMode. Thus can be achieved by extending Logger class and adding two new methods

      • warnDev(String, Throwable, Object...)
      • errorDev(String, Throwable, Object...)

      which will add exception's stacktrace to logs base on the flags

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lukaszlenart Lukasz Lenart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: