Special thanks to this blog. This is the best blog on log4j configuration for Grails I've ever read.
- If you wanna reference your own configuration in log4j config section, use
Holdersas shown - If you wanna use DailyRollingFileAppender or any other appenders that are not pre-loaded, please import
org.apache.log4j.* - You can define variables like that
- You can use different environment settings