« 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 jja-3 :: Rate this Message:

Reply to Author | View in Thread

Steve Tekell wrote:
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"
}}
I'm even later jumping in (found this in the archive), but wanted to add a slight modification that might help somebody. In 1.0.3, I changed to something like this:

environments {
  development {
    log4j {
      logger {
        //in 1.0.2 was:
        //grails."app"="debug,stdout"
        //in 1.0.3 now use:
        grails {
          app="debug"
        }
      }
    }
  }
}

John

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