(Quick Reference)

logging

Purpose

The logging plug-in sets up Grails' support for Logging with Log4j.

Examples

Example log statements:

log.info "Configuration data source"

try { .. } catch(Exception e) { log.error "Error: ${e.message}", e }

Description

Refer to the section on Logging in the Grails user guide which details Grails' logging support.