cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Resolved] (CXF-5370) Refactor STS logging to split mapping from log writing
Date Mon, 04 Nov 2013 21:56:17 GMT


Christian Schneider resolved CXF-5370.

    Resolution: Fixed

> Refactor STS logging to split mapping from log writing
> ------------------------------------------------------
>                 Key: CXF-5370
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: STS
>    Affects Versions: 2.7.7, 3.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.0.0, 2.7.8
>         Attachments: cxf-services-sts-core-CXF-5370.patch
> 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.

This message was sent by Atlassian JIRA

View raw message