Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Project infrastructure
-
Labels:None
Description
appenders {
file name: 'fileAppender', layout: xml, file: '/tmp/logs/applog.xml'
}
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
It looks to me like this change breaks the ability to reference other config properties in the log4j config.
For example, http://burtbeckwith.com/blog/?p=329 uses System.setProperty 'mail.smtp.port', mail.error.port.toString().
With Grails 2.0.1 all logging fails and the tomcat stderr log shows:
log4j:ERROR Property missing when configuring log4j: mail
log4j:ERROR WARNING: Exception occured configuring log4j logging: Cannot get property 'error' on null object