Hi Dan,

I mentioned this because I found the following statement in

http://ws.apache.org/muse/docs/2.2.0/manual/architecture/deployment-descriptor.html

>>Increasing the logging level to FINE (one level higher) will cause Muse to 
>>record every SOAP request and response that it processes.

For me it would be okay just to have the response logged the same way as the 
request. Maybe additionally with some remark that this logging is only the 
response before it will be handled by Axis2.

I needed the logging of the response to make sure that the correct fault is 
issued (NoCurrentMessageFault) before going through the Axis2 handlers. Mainly 
because of Rampart, as on the client side the fault has lost its detail and 
reason part and I wanted to be sure that Muse is returning the correct fault 
(which it does ;-).

I didn't invest any time to get the log4j working. I uncommented the property 
'org.apache.commons.logging.Log' in the 'commons-logging.properties' file. So I 
had my request logged.

The client side logging works (request and response) and the output to the 
console is just fine for me.

Best regards
Matthias

-----Ursprüngliche Nachricht-----
Von: Daniel Jemiolo [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 19. April 2007 03:28
An: [email protected]
Betreff: Re: Missing log output in AxisIsolationLayer

As I recall, the reason for this was that we hand off the SOAP body to 
Axis2, and it handles the final construction of the SOAP message before 
putting it on the wire. So we don't have the final SOAP message to log. Of 
course, we know what the headers should be, and we have the body, so we 
*could* construct an envelope DOM just to log it, but a) this might be a 
performance hit, and b) it could be confusing to debuggers should Muse and 
Axis2 ever "disagree" on what the final SOAP envelope should look like. 
The first one could be worked around by checking the logging level and 
only doing it if the level were high enough (FINE), but the second one 
seems problematic. I'm not sure what the Axis2 logging setup has to be to 
get it to display the SOAP messages - have you been able to get this 
working?

Dan



"Beil, Matthias" <[EMAIL PROTECTED]> wrote on 04/18/2007 10:19:33 AM:

> Hi,
> 
> 
> 
> I just tried to have on the server side (tomcat 5.0.28) the soap
> messages logged. While the incoming message is logged (line 118 Muse
> 2.2.0) I found that there is no logic for this for the outgoing message
> :-(
> 
> 
> 
> While the simple log based logging works, the logging using log4j didn't
> work. 
> 
> 
> 
> Mit freundlichen Gruessen / With kind regards
> 
> Matthias Beil
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to