Using XML processing typically simplifies a developer’s job–but not when you’re programming in c++. Ever wish someone would create the C++ equivalent of XMLBeans? Someone has. Find out how this new open-source tool fills a serious gap in the C++ software environment.
You May Also Like
Saint Nicholas in CSS
- byMichał Trzaskowski
- December 6, 2013
New HTTP Logger Grails plugin
- byTomasz Kalkosiński
- May 7, 2013
I've wrote a new Grails plugin - httplogger. It logs:
- request information (url, headers, cookies, method, body),
- grails dispatch information (controller, action, parameters),
- response information (elapsed time and body).
It is mostly useful for logging your REST traffic. Full HTTP web pages can be huge to log and generally waste your space. I suggest to map all of your REST controllers with the same path in UrlMappings
, e.g. /rest/
and configure this plugin with this path.
Here is some simple output just to give you a taste of it.
17:16:00,331 INFO filters.LogRawRequestInfoFilter - 17:16:00,340 INFO filters.LogRawRequestInfoFilter - 17:16:00,342 INFO filters.LogGrailsUrlsInfoFilter - 17:16:00,731 INFO filters.LogOutputResponseFilter - >> #1 returned 200, took 405 ms.
17:16:00,745 INFO filters.LogOutputResponseFilter - >> #1 responded with '{count:0}'
17:18:55,799 INFO filters.LogRawRequestInfoFilter - 17:18:55,799 INFO filters.LogRawRequestInfoFilter - 17:18:55,800 INFO filters.LogRawRequestInfoFilter - 17:18:55,801 INFO filters.LogOutputResponseFilter - >> #2 returned 404, took 3 ms.
17:18:55,802 INFO filters.LogOutputResponseFilter - >> #2 responded with ''
Official plugin information can be found on Grails plugins website here: http://grails.org/plugins/httplogger or you can browse code on github: TouK/grails-httplogger.
Bash’ing your git deployment
- byJakub Nabrdalik
- January 12, 2012
Chuck Norris deploys after every commit. Smart men deploy after every successful build on their Continuous Integration server.…