Już za miesiąc GeeCON w KrakowieGeeCON in Kraków, only one month left

Rejestracja trwa. W tym roku ta – jedna z najważniejszych w Polsce – konferencja javowa świętuje swoje piąte urodziny. Część naszego zespołu wybiera się do Krakowa w dniach 15-17 maja. A Wy?Registration is going on. One of the most important in Poland Java conference celebrates 5th birthday this year. A part of TouK team will be there 15-17 May, will you?

Rejestracja trwa. W tym roku ta – jedna z najważniejszych w Polsce – konferencja javowa świętuje swoje piąte urodziny. Część naszego zespołu wybiera się do Krakowa 15-17 maja. A Wy? GeeCON 2013

Registration is going on. One of the most important in Poland Java conference celebrates 5th birthday this year. A part of TouK team will be there 15-17 May, will you?


GeeCON 2013

You May Also Like

Custom SonarQube rules for Unit Tests

It's a tutorial about creating new rules for SonarQube analysis to be applied to Unit Tests. It is not trivial and involves a few tricky database steps, so I want to share my tutorial about it.It's a tutorial about creating new rules for SonarQube analysis to be applied to Unit Tests. It is not trivial and involves a few tricky database steps, so I want to share my tutorial about it.

New HTTP Logger Grails plugin

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.