[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    


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).

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 Sun Nov 18 14:44:18 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.