Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.6
-
None
-
None
-
None
-
Unknown
Description
I have my own logging interceptors that write to a database.
The code for these is largely a copy of the code in LoggingInInterceptor and LoggingOutInterceptor, but as a copy it doesn't take advantage of changes in those interceptors which may be necessary to take advantage of changes in CXF.
As a minimum I propose changing the line:
log(logger, buffer.toString());
to be a call to an overridable method so that the buffer can be accessed by subclasses.
I may also introduce other overridable methods to give access to the raw Message and abstract the LoggingMessage so that more custom data can be collected.
Attachments
Attachments
Issue Links
- duplicates
-
CXF-4392 Easier customization of log messages in Logging[In|Out]Interceptor
- Closed