Improve client side error handling and logging for AJS

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • None
    • Component/s: None
    • None
    • 1

      Problem Definition

      When reviewing AJS logs it is difficult to spot exceptions in production, but especially in development.

      • Currently exceptions are logged at the LOG level rather than the ERROR level
      • This does not follow the standard convention of placing exceptions at the ERROR level
      • Developers are unable to easily filter out the LOG level information from the ERROR level information. Filtering just for ERROR level generates no results

      Suggested Solution

      • Separate errors and exceptions from the normal LOG level by sorting them into the ERROR level or higher, per normal conventions
      • Add extra information on errors (and make it more noticeable) if the AJS.debugEnabled() is on. This can include stack traces, etc if available.
      • Provide the option to adjust logging output levels

            Assignee:
            Unassigned
            Reporter:
            Robert Louie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: