Christian Schneider created CXF-5370:
----------------------------------------
Summary: 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
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)