[SWS-641] Make sentMessageTracingLogger independent from receivedMessageTracingLogger Created: 16/Sep/10  Updated: 04/May/12  Resolved: 17/Sep/10

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.0 M3
Fix Version/s: 2.0 RC1, 1.5.10

Type: Improvement Priority: Minor
Reporter: Samuel Fleischle Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0.45h
Time Spent: 0.05h
Original Estimate: 0.5h

Attachments: File MessageDispatcher.diff    

 Description   

sentMessageTracingLogger logs the WebService request only correct, if receivedMessageTracingLogger is set to TRACE level. Otherwise, the WebService request will be logged as empty String.

Therefore it is not possible to log the WebService request message only once. WebService request message is either logged twice (if sentMessageTracingLogger AND receivedMessageTracingLogger both are set to LogLevel.TRACE) or WebService request message is never logged (for all other LogLevels of sentMessageTracingLogger and receivedMessageTracingLogger).



 Comments   
Comment by Samuel Fleischle [ 16/Sep/10 ]

Diff for suggested code change added. I think that´s a really small code change and it would be great if it will be integrated into Spring-Ws 2.0

Comment by Arjen Poutsma [ 17/Sep/10 ]

Fixed, both in 2.0 and 1.5 branch

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Tue Dec 12 08:37:35 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.