[
https://issues.apache.org/jira/browse/CXF-5370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider updated CXF-5370:
-------------------------------------
Attachment: cxf-services-sts-core-CXF-5370.patch
> Refactor STS logging to split mapping from log writing
> ------------------------------------------------------
>
> Key: CXF-5370
> URL: https://issues.apache.org/jira/browse/CXF-5370
> 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
(v6.1#6144)