Re: log POST data

2008-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > Christopher Schultz wrote: >> >> The only legal ways I know of are to call getReader and getInputStream. >> Those are easily handled as I've laid out in previous posts. > Can you point me to one of these posts ? > Because

Re: log POST data

2008-11-13 Thread André Warnier
Christopher Schultz wrote: The only legal ways I know of are to call getReader and getInputStream. Those are easily handled as I've laid out in previous posts. Can you point me to one of these posts ? Because at the moment, I don't see this so easily. Mmm.. I assume we can be talking about a PO

Re: log POST data

2008-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > Christopher Schultz wrote: > [...] > >> >> Honestly, an app-server-agnostic Filter that performs the same function >> would be a really useful thing to write. Care to try your hand at >> writing it? ;) >> > Honestly too,

Re: log POST data

2008-11-12 Thread André Warnier
Christopher Schultz wrote: [...] Honestly, an app-server-agnostic Filter that performs the same function would be a really useful thing to write. Care to try your hand at writing it? ;) Honestly too, I don't think I'm capable of doing that yet. As part of a filter I did write, I put some logg

Re: log POST data

2008-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > Would what Markus wants to do not be easier to do with a servlet filter ? > It would also be a per-application thing, rather than a > one-size-fits-all, no ? Markus was looking at using the ExtendedLogAccessValve which d

Re: log POST data

2008-11-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, Markus Reis wrote: Pardon me for butting in where I'm obviously outclassed, consider this as a genuine question : Would what Markus wants to do not be easier to do with a servlet filter ? It would also be a pe

Re: log POST data

2008-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, Markus Reis wrote: > I fear you are right :-) > > Due to the fact that you cannot read twice from the same > ServletInputStream (unfortunately you are again right here :-)) I did > the following in the mean time: Is this just a draft? Or do

Re: log POST data

2008-11-11 Thread Markus Reis
Original-Nachricht > Datum: Tue, 11 Nov 2008 16:27:57 -0500 > Von: Christopher Schultz <[EMAIL PROTECTED]> > An: Tomcat Users List > Betreff: Re: log POST data > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Markus, > > Markus Reis wrote: > >

Re: log POST data

2008-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, Markus Reis wrote: > OK (therefore I wrote POST data in the subject) - How could I log this (POST) > data (or body)? It doesn't look like there's an option in there for this: http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/v

Re: log POST data

2008-11-11 Thread Markus Reis
OK (therefore I wrote POST data in the subject) - How could I log this (POST) data (or body)? Markus Original-Nachricht > Datum: Tue, 11 Nov 2008 11:40:16 + > Von: Mark Thomas <[EMAIL PROTECTED]> > An: Tomcat Users List > Betreff: Re: log POST data &

Re: log POST data

2008-11-11 Thread Mark Thomas
Markus Reis wrote: > Yes, it should be x-P(nameOfParameter) ... > ... BUT, the POST request sent contains no key/value POST parameters/values, > but instead only one value (without a key) - so what could I use as > "nameOfParameter" (I already tried '', , and "", but without any > success)? The

Re: log POST data

2008-11-11 Thread Markus Reis
? Markus PS: The request is sent by an AJAX framework called ECHO2 (by NextApp) Original-Nachricht > Datum: Tue, 11 Nov 2008 11:22:48 + > Von: Mark Thomas <[EMAIL PROTECTED]> > An: Tomcat Users List > Betreff: Re: log POST data > Markus Reis wrote: >

Re: log POST data

2008-11-11 Thread Mark Thomas
Markus Reis wrote: > in my server.xml, but the last pattern string "x-P()" always produced "-" in > the log (instead of the only one post parameter that was present in the http > post request) Shouldn't that be x-P(nameOfParameter) ? Mark -

log POST data

2008-11-11 Thread Markus Reis
I'd like to log post parameters/data of all/some http requests - Therefore I tried in my server.xml, but the last pattern string "x-P()" always produced "-" in the log (instead of the only one post parameter that was present in the http post request) The http post requests I wa

RE: HELP!!! How can we log POST data?

2006-09-06 Thread Raghupathy,Gurumoorthy
ty-international.com/world/index.html> -Original Message- From: George, Janeve [mailto:[EMAIL PROTECTED] Sent: 06 September 2006 10:03 To: users@tomcat.apache.org Subject: HELP!!! How can we log POST data? Hi all, I am using Tomcat server and configured config/server.xml to save acces

HELP!!! How can we log POST data?

2006-09-06 Thread George, Janeve
case of POST method how can we figure out the information sent to the server? - Is there any way, by which, we can log post data information? Regards, Janeve George Ref URL: http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html