Grails Quickcasts are back!.
In this video, I talk about tips and tricks related to logging with a Grails 3 application. I discuss the changes to logger names in Grails 3.3 and things to bear in mind when logging in Grails artifacts and Groovy POGOs. Moreover, I explain the benefits of using Slf4j, parameterized logging, how to configure rolling logging, how to use an external configuration file, etc
Turn on the subtitles if you have difficulties to understand my English. 😬
Starting with Grails 3.2.0, the log property injected at compile time into artifacts (Controllers, Services) is now a Slf4j Logger instance.
Read @mrhaki's blog post to understand what does it mean in your code base.
Back in Issue #84, I included to a couple of Vaadin links.
This week we publish a Grails Guide about Vaadin and Grails 3. A couple of things excite me about this guide:
- It uses a 3rd party Grails 3 Profile. I feel that application profiles have a great power which we are not harvesting to their full capacity.
- The potential of mixing Vaadin endpoints and regular JSON, GSP endpoints.
Grails supports multiple environments (test, prod, development) out-of-the-box. However, Do you know that you can create additional custom environments and tell Grails to use a particular environment with the use of grails.env system property. @mrhaki shows you how.