« Return to Thread: 1.0.3 - No such property: context for class: java.lang.String

Re: 1.0.3 - No such property: context for class: java.lang.String

by Steve Tekell :: Rate this Message:

Reply to Author | View in Thread

maybe I am jumping in too late and saying something you already know, but....

is this not caused by using "grails.app" instead of "grails" in your config?
e.g.,

log4j {
    logger {
        // this
        //grails.app="debug,stdout"
        //should be
        grails = "debug,stdout"
}}

If I recall, there was a point in Grails history where you had to change "grails" to "grails.app" to set other "grails.*" stuff which is now org.codehaus.groovy.grails.*.  So only some of my apps had it.

Steve

Marc Palmer Local wrote:
Why is this broken for some projects and not others? I have one 1.0.3  
project (also upgraded from 1.0.2) that requires no workarounds?

Marc

 « Return to Thread: 1.0.3 - No such property: context for class: java.lang.String