On Mon, Sep 5, 2011 at 10:58 AM, Esben Taudorf <[email protected]> wrote: > Hi everybody > > > > Is it possible to log HTTP headers in a WFS request on GeoServer (jetty), > and if it is, how do I do it in GeoServer 2.0.2?
We do have a filter that logs requests, which can be enabled in web.xml, but it is not able to log the request headers. Should not be hard to extend it to log the headers too, though: http://svn.codehaus.org/geoserver/trunk/src/web/app/src/main/java/org/geoserver/filters/LoggingFilter.java We also worked on a "auditing" style logger which can log a lot about a request (http://geo-solutions.blogspot.com/2011/08/developers-corner-audit-your-geoserver.html), but neither this one logs headers, though it also could be extended to do that Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
