Improved logging, better retrieval of GET and POST