Hmm., I guess I actually did commit it. The lines are lines 239-247 of ows/.../Dispatcher.java.
Here: http://rafb.net/p/r1ImDl90.html
It only displays the first 1024 bytes of an XML-POST request, when log-level is FINE or higher (meaning that org.geoserver.ows.Dispatcher=DEBUG in log4j terms)
I think this idea should be made a bit more general, but don't forget that the debug levels need to get translated into log4j now.
So if you set org.geoserver.ows.Dispatcher=DEBUG then you'll get a detailed examination of the requests. First 1024 (or 2048?) bytes of the request?
If you set org.geoserver.ows.Dispatcher=INFO then you'll get a basic, no-frills, semi-terse examination of the requests. Perhaps just a "request.toString()" of the request?
--saul
________________________________
From: geoserver-devel-bounces@lists.sourceforge.net on behalf of Andrea Aime
Sent: Mon 7/16/2007 10:49 AM
To: Farber, Saul (EEA)
Cc: Geoserver-devel
Subject: Re: [Geoserver-devel] Reinstating request logging?
Farber, Saul (EEA) ha scritto:
That makes so much sense to me that it's already a running non-commited change on my local gs-trunk checkout.
Nice, what does it do in particular? I mean, does it log all requests,
only the first xxx bytes, all of it, which log levels and so on?
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel