rob_au has asked for the wisdom of the Perl Monks concerning the following question:

I have a somewhat strange request, but one which I am sure other developers have faced before and as such, having spent some time searching through to no avail, I now turn to the monastery ...

In reading through the functional specifications for a new mod_perl/SOAP::Lite project, there is a requirement detailed for all SOAP requests and responses (message headers and body data inclusively) to be logged - While I do not expect this element of functionality to be maintained as the project is shifted into the production environment, it is nonetheless an element of functionality which will need to be implemented to meet the project requirements and pass acceptance testing. To this end, I am looking to see there is an existing Apache/mod_perl module (1.33/1.29_01) for the logging of complete requests and responses made of a server (and avoid re-inventing another wheel, particularly given the exceptionally tight timeframes associated with this project).

Are there any proven wheels which I should be investigating the use of?

Update: Doh! Isn't it always the way - you post and *then* find a node answering your question! This node and the associated link gives me something to work from. Any and all other pointers would however be welcomed.


perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"

  • Comment on Apache/mod_perl request/response logging

Replies are listed 'Best First'.
Re: Apache/mod_perl request/response logging
by Moron (Curate) on Oct 27, 2005 at 15:52 UTC
    The documentation for SOAP::Trace appears to be buried deep in the same page as SOAP::Lite, otherwise this seems to provide the messaging access you need although there is nothing specific to maintain the actual logfile i/o. On the other hand, the part that just writes anything passed to a logfile should just be a few lines more to write.


    Free your mind