Grails Logging. Configuring logging in Grails is not as simple one would think.
Grails uses Log4J as its logging framework. Log4J configuration is stored in the log4j.properties file. Log5j - Google Code. SLF4J. Log4j tutorial with Tomcat examples. This tutorial explains how to set up log4j with email, files and stdout.
It compares XML to properties configuration files, shows how to change LogLevels for a running application. Furthermore, we explain best practices on logging and exception handling. Annotated logging interceptor with Spring AOP.