On 14/02/2008, Sébastien Geindre <[EMAIL PROTECTED]> wrote:
>  A client send xml data.
>  I need to put it in kind of database.
>  This is ok.
>
>  But i would like to write in a file (for example) that client A send
>  this datas, this day,...
>  All information i need to trace are in  the xml data sent.
>
>  A kind of monitoring, or functional trace.
>
>  How can i do that with C2.2 ?

Are you passing the user's document through a sitemap pipeline?  If
so, you could include a custom transformer that passes everything
through unchanged, but watches for the values you're interested in and
records them.  Then in the endDocument callback, write them to the log
file.  Don't see any reason why 2.2 would be any different from 2.1
with this approach, asides from component lifecycle code.


Andrew.
-- 
http://pseudoq.sourceforge.net/  Open source java Sudoku application

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

Reply via email to