You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without the grails-logging plugin, Grails artifacts do not get a log property auto-injected as the docs state. Instead, you would need to annotate your classes manually with the @Slf4j annotation.
For users who might be upgrading apps and not starting from a blank create-app template (where the plugin is inserted for you), I think it would be useful to call out the dependency right in the logging docs.
We also use the grails-dependencies POM in our apps to bundle up the "core" deps - perhaps the logging plugin should be added to that as well?
Of course, let me know if I am misunderstanding anything here!
The text was updated successfully, but these errors were encountered:
http://docs.grails.org/3.3.x/guide/conf.html#logging
Without the grails-logging plugin, Grails artifacts do not get a log property auto-injected as the docs state. Instead, you would need to annotate your classes manually with the
@Slf4j
annotation.For users who might be upgrading apps and not starting from a blank
create-app
template (where the plugin is inserted for you), I think it would be useful to call out the dependency right in the logging docs.We also use the grails-dependencies POM in our apps to bundle up the "core" deps - perhaps the logging plugin should be added to that as well?
Of course, let me know if I am misunderstanding anything here!
The text was updated successfully, but these errors were encountered: