Hi List,
For troubleshooting reasons I’m looking for a way to monitor the requests GeoServer sends out and receives when connecting to a remote WFS server.
I switched Logging to “verbose” but in the geoserver.log file I do not find the data that has been sent and/or received.
Is there a way to achieve that from within GeoServer? Surely some form of HTTP Proxy, Network sniffer or one of that kind would do the job as well, but I hope I can avoid installing one of these.
(Geoserver 2.2, but an upgrade to 2.3 would be fine as well…)
Kind regards,
Sebastian
Sebastian Schmidt
SWM -Besser leben mit M.
Informations- und Prozesstechnik
Anwendungen Technische Geschäftsfelder
Telefon: 089/23 61-44 78
Telefax: 089-2361-70 44 78
schmidt.sebastian2@anonymised.com
www.swm.de
SWM Services GmbH, Emmy-Noether-Straße 2, 80992 München; Geschäftsführer Dr. Florian Bieberbach, Herbert König, Reinhard Büttner, Stephan Schwarz, Erna-Maria Trixl; Sitz München; Registergericht München HRB 126 674; Aufsichtsratsvorsitzender Oberbürgermeister Christian Ude
Der Inhalt dieser E-Mail oder eventueller Anhänge ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen.
2013/6/7 <Schmidt.Sebastian2@anonymised.com>
···
Hi List,
For troubleshooting reasons I’m looking for a way to monitor the requests GeoServer sends out and receives when connecting to a remote WFS server.
I switched Logging to “verbose” but in the geoserver.log file I do not find the data that has been sent and/or received.
Is there a way to achieve that from within GeoServer? Surely some form of HTTP Proxy, Network sniffer or one of that kind would do the job as well, but I hope I can avoid installing one of these.
(Geoserver 2.2, but an upgrade to 2.3 would be fine as well…)
Don’t think the logging you’re looking for is there in the code. However, you’re not forced into “installing” a proxy,
you can just go, download and run the Burp suite http://portswigger.net/burp/, runs without having to install it on
the computer, then you just have to tell the JVM running GeoServer to go through it using the following
system variables:
-Dhttp.proxyHost=proxyhostURL
-Dhttp.proxyPort=proxyPortNumber
Cheers
Andrea
–
==
GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Hi Schmidt,
I don’t think it’s GeoServer logging you want. If you want to see what requests are made then that will be your servlet container, so jetty or tomcat. Both can log access requests and these are what say who made what requests to the server.
If your requests go through an intermediate Proxy, load balancer, etc, then you can log there too.
Jonathan
2013/6/7 <Schmidt.Sebastian2@anonymised.com>
Hi List,
For troubleshooting reasons I’m looking for a way to monitor the requests GeoServer sends out and receives when connecting to a remote WFS server.
I switched Logging to “verbose” but in the geoserver.log file I do not find the data that has been sent and/or received.
Is there a way to achieve that from within GeoServer? Surely some form of HTTP Proxy, Network sniffer or one of that kind would do the job as well, but I hope I can avoid installing one of these.
(Geoserver 2.2, but an upgrade to 2.3 would be fine as well…)
Kind regards,
Sebastian
Sebastian Schmidt
SWM -Besser leben mit M.
Informations- und Prozesstechnik
Anwendungen Technische Geschäftsfelder
Telefon: 089/23 61-44 78
Telefax: 089-2361-70 44 78
schmidt.sebastian2@anonymised.com
www.swm.de
SWM Services GmbH, Emmy-Noether-Straße 2, 80992 München; Geschäftsführer Dr. Florian Bieberbach, Herbert König, Reinhard Büttner, Stephan Schwarz, Erna-Maria Trixl; Sitz München; Registergericht München HRB 126 674; Aufsichtsratsvorsitzender Oberbürgermeister Christian Ude
Der Inhalt dieser E-Mail oder eventueller Anhänge ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen.
How ServiceNow helps IT people transform IT departments:
- A cloud service to automate IT design, transition and operations
- Dashboards that offer high-level views of enterprise services
- A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
Hi Andrea,
I got it managed on my developer machine with the JVM options and fiddler (fiddler2.com) which was already there for some web applications analysis&debugging.
On a deployed system I am not sure if a servlet container’s logging options would really help in this case as I’d like to know which Requests Geoserver itself triggers to a remote WFS service (which I cannot control).
Regards,
Sebastian