Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5370

Refactor STS logging to split mapping from log writing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.7, 3.0.0-milestone1
    • Fix Version/s: 3.0.0-milestone1, 2.7.8
    • Component/s: STS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Currently the sts LoggingListener handles both the mapping from STS events to the more generic map structure and writing the map to the logger.

      As these functions are quite spearate it makes sense to split these two.

      Additionally I would like to store Exceptions and Dates as objects in the map and leave the formatting to the log writer part. This allows to adapt the MapEvent nicely to e.g. EventAdmin.

      I also plan to remove the log layout code as this is log system specific and so should rather be defined by the user.

      As a last change I would like to log exceptions not as string but directly as exception to the log. So it can be processed freely by appenders.

        Attachments

        1. cxf-services-sts-core-CXF-5370.patch
          56 kB
          Christian Schneider

          Issue Links

            Activity

              People

              • Assignee:
                cschneider Christian Schneider
                Reporter:
                cschneider Christian Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: