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

Refactor STS logging to split mapping from log writing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.7, 3.0.0-milestone1
    • 3.0.0-milestone1, 2.7.8
    • STS
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: